Re: [Libevent-users] http.c:689: Assertion req != NULL failed in evhttp_connection_fail

2011-05-25 Thread Kevin Ko
Hi, Alexey. It looks like it's related to a small bug that was inadvertently introduced between 2.0.10 and 2.0.11. A patch was committed to fix it a few days ago: http://levent.git.sourceforge.net/git/gitweb.cgi?p=levent/libevent;a=commitdiff;h=0848814ac496167133bec5f8d564387b5111440f

Re: [Libevent-users] Bug: evhttp_make_request(), introduced in git commit 0d6622e

2011-05-22 Thread Kevin Ko
: > On Sat, May 21, 2011 at 4:06 AM, Kevin Ko wrote: > > Hi, > > Sorry for the delay. Here's a test case. I'm not sure if you'll like my > > use of the limited broadcast address for simulating an ENETUNREACH error > > with a TCP connection, but it'

Re: [Libevent-users] Bug: evhttp_make_request(), introduced in git commit 0d6622e

2011-05-21 Thread Kevin Ko
connection_retry), HTTP(data_length_constraints), * end patch * On Fri, May 20, 2011 at 11:20 PM, Nick Mathewson wrote: > On Tue, May 10, 2011 at 2:46 AM, Kevin Ko wrote: > > Hi, > > > > Patch in question: > > - > Fix the case when failed evhttp_make_r

[Libevent-users] Bug: evhttp_make_request(), introduced in git commit 0d6622e

2011-05-09 Thread Kevin Ko
Hi, Patch in question: - Fix the case when failed evhttp_make_request() leaved request in the queue. - http://levent.git.sourceforge.net/git/gitweb.cgi?p=levent/libevent;a=commit;h=0d6622e The above patch introduces a failing assertion in evhttp_connection_fail().  This happens because the p