[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



On Wed, Dec 1, 2010 at 1:47 AM, Basile Starynkevitch
<basile@xxxxxxxxxxxxxxxxx> 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 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.

It's useful if you're proxying requests from a web server like Nginx
to an evhttp-based web server.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.