mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:23:44 +03:00
tests: add HTTP UNIX socket server testing support
The variable `$ipvnum` can now contain "unix" besides the integers 4 and 6 since the variable. Functions which receive this parameter have their `$port` parameter renamed to `$port_or_path` to support a path to the UNIX domain socket (as a "port" is only meaningful for TCP). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
99fb36797a
commit
f1cc2a2c0c
5 changed files with 106 additions and 16 deletions
|
|
@ -177,6 +177,7 @@ ftps
|
|||
http
|
||||
http-ipv6
|
||||
http-proxy
|
||||
http-unix
|
||||
https
|
||||
httptls+srp
|
||||
httptls+srp-ipv6
|
||||
|
|
@ -229,6 +230,7 @@ SSPI
|
|||
GSS-API
|
||||
Kerberos
|
||||
SPNEGO
|
||||
unix-sockets
|
||||
|
||||
as well as each protocol that curl supports. A protocol only needs to be
|
||||
specified if it is different from the server (useful when the server
|
||||
|
|
@ -331,6 +333,7 @@ Available substitute variables include:
|
|||
%HOSTIP - IPv4 address of the host running this test
|
||||
%HTTP6PORT - IPv6 port number of the HTTP server
|
||||
%HTTPPIPEPORT - Port number of the HTTP pipelining server
|
||||
%HTTPUNIXPATH - Path to the UNIX socket of the HTTP server
|
||||
%HTTPPORT - Port number of the HTTP server
|
||||
%HTTPSPORT - Port number of the HTTPS server
|
||||
%HTTPTLS6PORT - IPv6 port number of the HTTP TLS server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue