[Libevent-users] Small error in evhttp.h documentation

2010-07-26 Thread Marco
I think there's a small error in the description of evhttp_bind_socket, evhttp.h (using 1.4.10-stable): [...] * @return a newly allocated evhttp struct [...] int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port); While the correct @return should be: * @return 0 on succe

[Libevent-users] Libevent HTTP and pipeline mode

2010-07-26 Thread Anton Zem
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