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
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