[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Possible bug in http.c



On Tue, Mar 4, 2014 at 9:43 PM, Ronen Mizrahi <ronen@xxxxxxxxxxxx> wrote:
> It looks like the patch does create issues with subsequent HTTP requests
> made on the same connection (for persistent connections) and therefore we
> won't submit it.
>
> The original issue reported however is still very much in effect. It is
> particularly problematic for long-polling type requests where the server
> uses evhttp_send_reply_start() and then every once in a while does
> evhttp_send_reply_chunk(). If the client closes the connection, the server
> won't detect it during the period between different chunks but rather only
> when attempting to send the next chunk. This period can be several minutes
> so this can be a real issue for servers that handle many connections.

What kind of issues did the original patch cause?  Maybe we can track
those issues down and fix it?

peace,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.