On Fri, Jul 30, 2010 at 9:23 AM, Anton Zem wrote:
> I found that libebvent's HTTP Server cannot work properly in pipelined mode.
> The problem is in code
> if (req->ntoread == 0) {
> bufferevent_disable(evcon->bufev, EV_READ);
> /* Completed content length */
> evhttp_co
I found that libebvent's HTTP Server cannot work properly in pipelined mode.
The problem is in code
if (req->ntoread == 0) {
bufferevent_disable(evcon->bufev, EV_READ);
/* Completed content length */
evhttp_connection_done(evcon);
return;
}
in pipeline mode
Libevent seems to have no HTTP pipeline mode support. If I send the second
request immediatly after the first, the HTTP connection just hangs.
req->ntoread goes negative (request got more bytes than it was expecting, so
it stays in this state forever).
Are there any ideas of how HTTP pipelining is