[Libevent-users] ibevent: HTTP POST service example?

2010-11-05 Thread Basile Starynkevitch
Hello 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. I google-code and did not found anything. I am coding a tiny login

RE: [Libevent-users] Read failures on Unix socket

2010-11-05 Thread Gilad Benjamini
I'm actually giving up on this. IMHO epoll is buggy when it comes to duplicated file descriptors, and possibly also buggy when file descriptors are just reused. I have seen, for example, epoll alert on both closed file descriptors and on file descriptors which were not actually part of the set. Unf

Re: [Libevent-users] Re: libevent-2.0.8-rc/evdns.c:2672: Assertion (req)->handle && (req)->handle->current_req == (req) failed in evdns_cancel_request

2010-11-05 Thread Nick Mathewson
On Thu, Nov 4, 2010 at 4:06 PM, Denis Bilenko wrote: > On Thu, Nov 4, 2010 at 9:10 PM, Nick Mathewson wrote: >> Assuming that it now crashes in a different place from where it used >> to crash -- that is, at ASSERT_VALID_REQUEST in evdns_cancel, I've got >> an updated patch, attached below.  Thir