Re: [Libevent-users] workers for evhttp (was stable, now not!)

2011-05-20 Thread Nick Mathewson
On Fri, May 20, 2011 at 11:26 PM, Michael Herf wrote: [...] > Questions: is bufferevent supposed threadsafe for this case? I suppose I > haven't verified if my technique of handing evhttp_request over the thread > boundary is supposed to work or not...it has just been working for quite a > long t

[Libevent-users] workers for evhttp (was stable, now not!)

2011-05-20 Thread Michael Herf
I have a server using evhttp, which was running quite stably on 2.0.8. It uses a pthreads-based worker pool, but accepts http connections in the network thread, using one event base. On 2.0.10 and 2.0.11 things are now crashing or locking very quickly. The code to startup the server in the net

Re: [Libevent-users] Bug: evhttp_make_request(), introduced in git commit 0d6622e

2011-05-20 Thread Nick Mathewson
On Tue, May 10, 2011 at 2:46 AM, Kevin Ko wrote: > Hi, > > Patch in question: >  - Fix the case when failed evhttp_make_request() leaved request in the queue. >  - > http://levent.git.sourceforge.net/git/gitweb.cgi?p=levent/libevent;a=commit;h=0d6622e > > The above patch introduces a failing asse

Re: [Libevent-users] patch for https

2011-05-20 Thread Nick Mathewson
On Fri, May 20, 2011 at 3:36 AM, Ben Chen wrote: > What I mean is http uploading a big file from client to server. Currently > POST support in libevent is just suitable for html form post. When big file > uploading, we need a way to let the content already uploaded be put into a > file, so that no

Re: [Libevent-users] patch for https

2011-05-20 Thread Ben Chen
What I mean is http uploading a big file from client to server. Currently POST support in libevent is just suitable for html form post. When big file uploading, we need a way to let the content already uploaded be put into a file, so that no too much mem consumed in the process. Thanks, Ben 2011/