cmullaparthi/ibrowse — pull request #100 by Vagabond (2013-09-12 19:59:07+00:00)
Title: Retry requests when the worker has the connection close

When a tcp_closed or ssl_closed message is handled while ibrowse is
trying to send a request to a worker, ibrowse would incorrectly return a
req_timedout message, when, in fact, the request had not even been
handled.

This patch attempts to avoid that race condition by signalling tcp or
ssl closed messages back to ibrowse differently than a normal exit.

I don't know if this is the right way to fix this, or if tcp_error and ssl_error need a similar patch, but it made the race condition stop.