Re: [Libevent-users] evhttp server on unix socket

2010-11-30 Thread Basile Starynkevitch
ser and user web interface? Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine,

Re: [Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-12 Thread Basile Starynkevitch
some data each 2 seconds in the web page using ajax. You'll > need to manually set some http headers to make it correct, and take > advantage of the browser cache and other http features. I am not sure that answers my question: > On Fri, Nov 12, 2010 at 12:48 AM, Basile Starynkev

[Libevent-users] asynchronous or simultanous web service using evhttp.h

2010-11-11 Thread Basile Starynkevitch
monothreaded is not possible!! Example code are welcome. If you want me to put my (alpha-stage, 3000+ lines of C) code on some web server, I could do that, but it does not show much! cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +3

[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'

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

2010-11-05 Thread Basile Starynkevitch
len %d input_buffer", contlen, hrq->input_buffer); contline = evbuffer_readline (hrq->input_buffer); bk_debug3("contline/%d:%s", contline?strlen(contline):0, contline); /* should have a reusable routine to transform the form encoded data into a diction