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

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



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 send HTTP requests on an Unix
> socket.
>
> I would find extremely useful if there existed (on some Linux browsers) 
> a URL scheme for that. Imagine if opening
>   unixsock:/tmp/somedir/socket//goo/bar?v=x
> would talk HTTP protocol to a unix socket /tmp/somedir/socket and GET 
> the /goo/bar page with parameter v=x
>
> I am not familiar with FireFox internals to implement that.  I heard it
> might even be implemented as a FireFox plugin (but I am not sure).
>
> Christophe, do you have such browser extensions in mind, or are you
> only willing to do HTTP on sockets programmatically, outside of any
> browser and user web interface?
>
> Cheers.
>   

I use nginx as a proxy pop and imap. In this mode, nginx needs a http
server for user authentication. The HTTP server is on the same machine
as nginx, and I'd like to use a unix socket rather than TCP.

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.