Req #68899 [Opn]: Support HTTP over Unix sockets via http://localhost:[/tmp/socket]/foo

From: Date: Sat, 24 Jan 2015 13:24:41 +0000
Subject: Req #68899 [Opn]: Support HTTP over Unix sockets via http://localhost:[/tmp/socket]/foo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190176@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68899&edit=1 ID: 68899 User updated by: bugs at stalag99 dot net Reported by: bugs at stalag99 dot net -Summary: bugs@stalag99.net +Summary: Support HTTP over Unix sockets via http://localhost:[/tmp/socket]/foo Status: Open Type: Feature/Change Request Package: URL related Operating System: Unix PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Recorrecting summary due to LastPass overwriting. Previous Comments: ------------------------------------------------------------------------ [2015-01-24 13:22:18] bugs at stalag99 dot net Sorry, I've been sending bug reports to everyone. PHP should be recognizing these requests, not Webkit. And yes, I have an interest in this because I wanted to have localized (not public) services such as a Perl-based Markdown pharser and HTML Sanitizer on a unix socket via HTTP. I'm using Lighttpd as a server. ------------------------------------------------------------------------ [2015-01-24 13:20:09] bugs at stalag99 dot net Description: ------------ Support using Unix sockets to access HTTP servers. Lighttpd and Nginx already support these, but there is no consensus about how URLs are to be formed. Taking a hint from IETF RFC 2732, Webkit should make the HTTP request over unix sockets should the hostname of the URL be "localhost" and the port be the socket path encapsulated by square brackets. (ie [ ]) Further info at https://plus.google.com/110699958808389605834/posts/DyoJ6W6ufET ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68899&edit=1

« previous php.bugs (#190176) next »