Re: [Libevent-users] Re: Corrupted http request flags?

2010-07-28 Thread Niels Provos
On Wed, Jul 28, 2010 at 2:48 PM, Marco wrote: > By asking for '/foo' instead of 'foo' the connection is indeed kept alive. The proxy code should probably be removed from the code; as the http spec is perfectly happy with complete urls in the GET request. I have a git branch somewhere to fix this

Re: [Libevent-users] SSL support in evhttp.h

2010-07-28 Thread Zhuang Yuyao
hi, here is my patch and sample code for libevent 2.0 to add ssl support to evhttp. the trick is to allow the caller to set bufev of struct evhttp_connection. Best regards, Zhuang Yuyao On Thu, Jul 29, 2010 at 12:26 AM, Nick Mathewson wrote: > On Wed, Jul 28, 2010 at 9:10 AM, Graham Leggett

[Libevent-users] Re: Corrupted http request flags?

2010-07-28 Thread Marco
It wasn't a bug of course... just for the record the explanation is below. By the way, I was looking at the your regression test for keep-alive. I don't think it is appropriate. It's in 'regress_http.c', function 'http_chunked_test' the comment is : /* make two requests to check the keepalive beha

Re: [Libevent-users] 100% cpu utilization with openssl bufferevent.

2010-07-28 Thread Nick Mathewson
On Thu, Apr 29, 2010 at 5:19 AM, Sebastian Sjöberg wrote: > Hi, > > I've encountered a problem with openssl bufferevents where libevent reports > fd:s as writeable but no action is being taken. I think Mike Smellie finally tacked this down in his comments in bug http://sourceforge.net/tracker/?

Re: [Libevent-users] running libevent with multiple bases

2010-07-28 Thread Nick Mathewson
On Tue, Jul 27, 2010 at 5:16 PM, Amy Hwang wrote: > I have an architecture that reads and writes to a large number of > sockets, where the sockets are spread over a number of threads, each > with its own libevent base. Each socket is "owned" by a single > libevent base, and the bases don't interac

Re: [Libevent-users] SSL support in evhttp.h

2010-07-28 Thread Nick Mathewson
On Wed, Jul 28, 2010 at 9:10 AM, Graham Leggett wrote: > Hi all, > > Is SSL support planned for the event driven http server described in > evhttp.h? > It would be good to add, if somebody has the time to implement it. It won't go into Libevent 2.0, since that's in feature-freeze, but I'd bet a

[Libevent-users] SSL support in evhttp.h

2010-07-28 Thread Graham Leggett
Hi all, Is SSL support planned for the event driven http server described in evhttp.h? Regards, Graham -- *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

[Libevent-users] Re: [Libevent-users] Re: [Libevent-users] error: agg regate ‘evkeyvalq query’ has incomplete type and cannot be defined

2010-07-28 Thread Mihai Draghicioiu
2.0.5-beta #include #include #include #include thanks On Tue, Jul 27, 2010 at 9:28 PM, Nick Mathewson wrote: > On Sun, Jul 25, 2010 at 11:12 AM, Mihai Draghicioiu > wrote: >> Hi guys. I'm trying to extract parameters from the url query, but i >> can't seem to figure out why i'm getting thi