curl-library
Re: HTTP connection to unix socket
From: Nikolai Kondrashov <Nikolai.Kondrashov_at_oktetlabs.ru>
Date: Mon, 14 Apr 2008 13:03:10 +0400
Date: Mon, 14 Apr 2008 13:03:10 +0400
Nikolai Kondrashov wrote:
> This way we could use it for any protocol tunnelled through a UNIX socket.
> I.e. an HTTP URL accessible via UNIX socket could look like that:
>
> unix:///var/local/http.socket?http%3A%2F%2Fcurl.haxx.se%2F%0A
Err, there should be no %0A at the end, of course, and the socket path is
quite bad, so, here is a better one:
unix:///var/run/http.socket?http%3A%2F%2Fcurl.haxx.se%2F
Sincerely,
Nick
Received on 2008-04-14