Re: [Libevent-users] Re: libevent: HTTP POST service example?

2010-11-06 Thread Mark Ellzey
On Sat, Nov 06, 2010 at 12:07:32PM -0400, Ron Parker wrote: > Basile, > > It was my experience with libevent 1.4 that the entire post was buffered > prior to callback. At a very minimum this opened my system up to a DOS > attack. Since I didn't find a way to get incremental callbacks in the end

Re: [Libevent-users] Re: libevent: HTTP POST service example?

2010-11-06 Thread Ron Parker
Basile, It was my experience with libevent 1.4 that the entire post was buffered prior to callback. At a very minimum this opened my system up to a DOS attack. Since I didn't find a way to get incremental callbacks in the end I abandoned use of the http layer in libevent. Ron Parker Movik Ne

[Libevent-users] Re: libevent: HTTP POST service example?

2010-11-06 Thread Basile Starynkevitch
On Fri, 5 Nov 2010 23:58:47 +0100 Basile Starynkevitch wrote: > Do you have an example of an HTTP server in libevent which handles a > POST request? > > Apparently, calling evbuffer_readline (hreq->input_buffer); from inside > a callback registered with evhttp_set_cb don't work as expected. In f