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

2011-05-09 Thread Kevin Ko
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 assertion in evhttp_connection_fail().  This happens because the p

Re: [Libevent-users] http server and infinite streams

2011-05-09 Thread Mark Ellzey
I think it may this may be a good time for Cliff, Vector, Scott, myself, and input/time from Nick to give a shot creating a secondary http API (keeping the old one in place). This thread has been full of good ideas and experimental implementations. A call to arms? ***

Re: [Libevent-users] http server and infinite streams

2011-05-09 Thread Mark Ellzey
On Sat, May 07, 2011 at 01:07:40AM -0400, Nick Mathewson wrote: > *lots of text here* One of the ways nginx deals with very large streams of data is to actually spool the data to file. By default this is turned off. But this may be a simple solution to all of these problems. The spooling is tra

Re: [Libevent-users] patch for https

2011-05-09 Thread Ben Chen
Hi Nick, Ok, I will consider your suggestion. But I have another question, has the libevent supported http upload? If not, what's your plan? Thanks, Ben Chen 2011/5/7 Nick Mathewson > On Thu, May 5, 2011 at 12:17 PM, Ben Chen wrote: > > In my project, a https server is needed. I added the ht

Re: [Libevent-users] event_active bug?

2011-05-09 Thread Michał Król
Hi, thanks for your reply. You understood well. I used both flags EVLOOP_ONCE and EVLOOP_NONBLOCK while creating event_base. I was already able to fix it with the timer, or file descriptor and it works just as I want. As I said I was just surprised, that it works differently with event_active func