Thanks Nick, I'll check again myself in the source.
Marco
On Wed, Feb 2, 2011 at 9:49 AM, Nick Mathewson wrote:
> On Mon, Jan 31, 2011 at 12:42 PM, Marco wrote:
> > Hi everyone, simple question..
> >
> > 2 threads, T1 is in the event loop, T2 does some other things
this thread safe?
Or does any of the functions invoked by T2 modify the event base (owned by
T1)?
Marco
f (strlen(req->uri) > 0 && req->uri[0] != '/')
req->flags |= EVHTTP_PROXY_REQUEST;
By asking for '/foo' instead of 'foo' the connection is indeed kept alive.
M
On Tue, Jul 27, 2010 at 10:27 AM, Marco wrote:
> I'm trying to understand why a simple http s
I'm trying to understand why a simple http server closes the connection
after each answer, even if i set the keepalive header.
I might have found a bug, but you guys should check..
On the client side, i generate simple requests as following:
r1 = evhttp_request_new(client_handle_response, NULL);
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