Re: [Libevent-users] workers for evhttp (was stable, now not!)

2011-05-21 Thread Michael Herf
Ok, I made some progress, with help from Google's ThreadSanitizer! http://code.google.com/p/data-race-test/wiki/ThreadSanitizer My libevent's http.c now allows me to hand off an evhttp request to a worker, which can call evhttp_send_reply() safely (and nothing else after that). Quite a bit clo

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

2011-05-21 Thread Kevin Ko
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's the best that I could think of. Basically, we want to trigger a non-EINPROGRESS error in evutil_socket_connect() i