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

2010-12-28 Thread Michael Lenaghan
On Wed, Dec 1, 2010 at 1:47 AM, Basile Starynkevitch wrote: > > > Hi, is it possible to bind an HTTP server on unix socket instead of > > address and port (int evhttp_bind_socket > > I don't know fur sure, and I believe it should require some patch. > > However, I am interested to understand why y

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

2010-12-28 Thread Christophe ZBIERSKI
It's OK, I use evhttp_accept_socket. thank you, and Happy New Year Le 01/12/2010 16:48, Nick Mathewson a écrit : > On Wed, Dec 1, 2010 at 1:28 AM, Christophe Zbierski > wrote: > >> Hi, is it possible to bind an HTTP server on unix socket instead of address >> and port (int evhttp_bind_socket

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

2010-12-01 Thread Nick Mathewson
On Wed, Dec 1, 2010 at 1:28 AM, Christophe Zbierski wrote: > Hi, is it possible to bind an HTTP server on unix socket instead of address > and port (int evhttp_bind_socket(struct evhttp *http, const char *address, > u_short port) ). Make sure you're using the latest 2.0.x-rc, and try evhttp_accep

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

2010-11-30 Thread Christophe ZBIERSKI
Le 01/12/2010 07:47, Basile Starynkevitch a écrit : > I don't know fur sure, and I believe it should require some patch. > > However, I am interested to understand why you are asking that. > > In particular, at least under Linux, I know unfortunately no Web > browser (or other HTTP client) able to

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

2010-11-30 Thread Frank Denis
Le Wed, Dec 01, 2010 at 07:47:36AM +0100, Basile Starynkevitch ecrivait : > However, I am interested to understand why you are asking that. > > In particular, at least under Linux, I know unfortunately no Web > browser (or other HTTP client) able to send HTTP requests on an Unix > socket. REST

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

2010-11-30 Thread Basile Starynkevitch
On Wed, 01 Dec 2010 07:28:25 +0100 Christophe Zbierski wrote: > Hi, is it possible to bind an HTTP server on unix socket instead of > address and port (int evhttp_bind_socket > (struct > > evhttp *ht

[Libevent-users] evhttp server on unix socket

2010-11-30 Thread Christophe Zbierski
Hi, is it possible to bind an HTTP server on unix socket instead of address and port (int evhttp_bind_socket (struct evhttp *http, const char *address, u_short port) ). Thanks Christophe