Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)

2013-03-10 Thread Dan Kegel
On Fri, Mar 8, 2013 at 4:05 PM, Nick Mathewson ni...@freehaven.net wrote: regress: http/connection_retry: FAIL test/regress_http.c:3092: assert(req) FAIL test/regress_http.c:3192: assert(test_ok == 1) [connection_retry FAILED] 1/209 TESTS FAILED. (8 skipped) Scratch that. It happens

Re: [Libevent-users] libevent test failure: FAIL test/regress_http.c:3092: assert(req)

2013-03-08 Thread Dan Kegel
On Fri, Mar 8, 2013 at 12:44 PM, Dan Kegel d...@kegel.com wrote: libevent master pulled as of Jan 11, fails tests for me. System details: OS: Ubuntu 12.04.2 64 bits Here's one failure log: regress: http/connection_retry: FAIL test/regress_http.c:3092: assert(req) FAIL test

Re: [Libevent-users] How to clean up timeout event?

2009-11-20 Thread Dan Kegel
On Fri, Nov 20, 2009 at 5:05 PM, Haiping Zhao hz...@facebook.com wrote: When I call event_base_loopexit() with a timeout, and say it’s not triggered, because event_base_loopbreak() breaks out of the loop before timeout is reached, I saw a memory leak of an event_once object, calloc-ed inside

Re: [Libevent-users] libevent cmake scripts

2009-07-26 Thread Dan Kegel
gyp seems to be making MSVC people happy in the chromium project. (It's another take on the basic idea of cmake, written in python; see http://gyp.googlecode.com .) - Dan On Sat, Jul 25, 2009 at 7:59 AM, Kenneth Coxkens...@gmail.com wrote: A word of caution: we used cmake for a fairly large

Re: [Libevent-users] Building with Visual Studio

2009-05-18 Thread Dan Kegel
On Sun, May 17, 2009 at 10:37 PM, James Mansion ja...@mansionfamily.plus.com wrote: Seems to work well for our needs across win/mac/linux. How odd that it creates a scons file on Linux.  scons is supposed to solve cross-platform building on its own. We tried scons on all three platforms, but

Re: [Libevent-users] libevent SSL support

2009-04-08 Thread Dan Kegel
On Wed, Apr 8, 2009 at 9:53 AM, Suresh Pachiappan suresh...@hotmail.com wrote: I am looking for SSL support in libevent. I don't know how interesting it is, but Chromium uses both libevent and SSL. On Linux, it uses NSS to provide SSL; on Mac, it uses the native Mac SSL library. You can see

Re: [Libevent-users] Multiple identical events on same fd in same loop

2009-03-20 Thread Dan Kegel
On Fri, Mar 20, 2009 at 7:45 AM, Thor Lancelot Simon t...@panix.com wrote: The first way is what you have to do with Libevent 1.4.x and earlier; Libevent only supports one _pending_ event at a time per fd/operation pair.  In other words, it's okay to have two events set to watch EV_WRITE on

[Libevent-users] valgrind errors in libevent on mac

2009-03-20 Thread Dan Kegel
It gives me great pleasure to be able to carp about the following warning from valgrind: ==19138== Syscall param kevent(changelist) points to uninitialised byte(s) ==19138==at 0x24AD906: kevent (in /usr/lib/libSystem.B.dylib) ==19138==by 0x31274F: event_base_new (event.c:197) ...

Re: [Libevent-users] [PATCH] Add callback for raw read/write

2009-02-19 Thread Dan Kegel
On Thu, Feb 19, 2009 at 5:09 AM, jamal h...@cyberus.ca wrote: This makes it easier to integrate libraries that provide their own read/write functions (such as openssl). I haven't looked at the patch, but I'm a little skeptical of a one-size-fits-all approach to integrating things like openssl.

Re: [Libevent-users] Patch: evhttp_connection_set_local_port

2008-11-04 Thread Dan Kegel
On Tue, Nov 4, 2008 at 4:16 AM, Richard Jones [EMAIL PROTECTED] wrote: I'm 90% finished writing up my findings as Part 3 to my comet series on www.metabrew.com - it turns out that my client process (C+libevent with my patch) that opens 1M connections takes 2.1GB resident once all 1M

Re: [Libevent-users] Reducing number of system calls needed by libevent in the epoll case?

2008-09-20 Thread Dan Kegel
On Fri, Sep 19, 2008 at 11:27 PM, Robert Iakobashvili [EMAIL PROTECTED] wrote: It occurs to me that libevent could reduce the number of such system calls transparently by using EPOLLET and caching readiness status in userspace. This may be particularly useful, when working on demultiplexing

[Libevent-users] Reducing number of system calls needed by libevent in the epoll case?

-- Thread Dan Kegel
oogle_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; /