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
by creating an explicit event and adding it yourself, then you have more control. See how I did it at http://codereview.chromium.org/372033/diff/1/3 - Dan ___ Libevent-users mailing list Libevent-users@monkey.org http://lists.monkey.org:8080/listinfo/libevent

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
:-) so he used scons as the target on Linux until we have a chance to write a make backend for gyp. (One's written, but not fully debugged yet.)  I was using scons before I tried waf, and haven't gone back. I'll have to check out waf. - Dan ___ Libevent

Re: [Libevent-users] libevent SSL support

2009-04-08 Thread Dan Kegel
the code at dev.chromium.org. It's a little complicated, but might at least be worth a look. - Dan http://src.chromium.org/viewvc/chrome/trunk/src/base/message_pump_libevent.cc http://src.chromium.org/viewvc/chrome/trunk/src/base/message_pump_libevent.h http://src.chromium.org/viewvc/chrome/trunk/src

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
and the following manual post-build step: dsymutil foo where foo is the name of the binary. See http://blog.mozilla.com/nnethercote/2009/02/17/valgrind-mac-os-x-update-feb-17-2009/ for more info about this spiffy branch of Valgrind. - Dan p.s. oh, yeah, I suppose I care about the error valgrind

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

2009-02-19 Thread Dan Kegel
. As the openssl faq says, you can't just call its read and write functions and expect them to work like regular ones: http://www.openssl.org/support/faq.html#PROG10 Do you have an example app that shows your code working with openssl? - Dan p.s. FWIW, here's how chromium uses libevent with nss

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
less wasted motion. (My proposal reduces unneeded libevent - kernel interaction, but EV_ET also reduces unneeded app - libevent interaction. The problem with EV_ET is that it requires apps to be aware of it.) - Dan ___ Libevent-users mailing list Libevent

Re: [Libevent-users] FYI: libevent/libev benchmark updated for libevent-1.4.3

2008-05-08 Thread Dan
, but I'll leave it at that... Dan. On Thu, 8 May 2008, Marc Lehmann wrote: On Thu, May 08, 2008 at 12:03:06AM -0500, Dan [EMAIL PROTECTED] wrote: Think I tried Ev once, to many bugs, hell couldn't even set a timer within a timer as I remember, In no release ever was there such a bug. libev and EV

[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"; /