Merge: curl: basic Unix domain socket support
authorJean Privat <jean@pryen.org>
Thu, 29 Mar 2018 00:11:31 +0000 (20:11 -0400)
committerJean Privat <jean@pryen.org>
Thu, 29 Mar 2018 00:11:31 +0000 (20:11 -0400)
commitdcc7381d468d6a2a4389fca554e827f38f37a6f1
treef0a19280bdc4328d583e1873765122163171c392
parent94d95a5f48cf320290832c6bb9c655bb8e987dc4
parentdf3485fabffedac6dee44d50f44237e190472575
Merge: curl: basic Unix domain socket support

Support using a Unix socket to send an HTTP request.

~~~
var request = new CurlHTTPRequest("http://localhost/")
request.unix_socket_path = "/tmp/nginx.sock"
var response = request.execute
~~~

@matthmsl Is this what you needed for #2623?

Pull-Request: #2625
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>