mirror of
https://github.com/curl/curl.git
synced 2025-09-15 16:42:41 +03:00
runtests: move the UNIX sockets into $PIDDIR
These were missed when the other server files were moved there.
Follow-up to 70d2fca2
Ref: #10818
This commit is contained in:
parent
44677b6565
commit
89ede3953b
|
@ -134,7 +134,7 @@ Available substitute variables include:
|
|||
- `%HTTPTLS6PORT` - IPv6 port number of the HTTP TLS server
|
||||
- `%HTTPTLSPORT` - Port number of the HTTP TLS server
|
||||
- `%HTTPUNIXPATH` - Path to the Unix socket of the HTTP server
|
||||
- `%SOCKSUNIXPATH` - Absolute Path to the Unix socket of the SOCKS server
|
||||
- `%SOCKSUNIXPATH` - Path to the Unix socket of the SOCKS server
|
||||
- `%IMAP6PORT` - IPv6 port number of the IMAP server
|
||||
- `%IMAPPORT` - Port number of the IMAP server
|
||||
- `%LOGDIR` - Log directory relative to %PWD
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
HTTP
|
||||
HTTP GET
|
||||
SOCKS5
|
||||
unix sockets
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
@ -41,7 +42,7 @@ socks5unix
|
|||
HTTP GET via SOCKS5 proxy via unix sockets
|
||||
</name>
|
||||
<command>
|
||||
--socks5 localhost%SOCKSUNIXPATH http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
--socks5 localhost%PWD/%SOCKSUNIXPATH http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ HTTP
|
|||
HTTP GET
|
||||
SOCKS5
|
||||
SOCKS5h
|
||||
unix sockets
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
@ -42,7 +43,7 @@ socks5unix
|
|||
HTTP GET with host name using SOCKS5h via unix sockets
|
||||
</name>
|
||||
<command>
|
||||
http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%SOCKSUNIXPATH
|
||||
http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%PWD/%SOCKSUNIXPATH
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ HTTP
|
|||
HTTP GET
|
||||
SOCKS5
|
||||
SOCKS5h
|
||||
unix sockets
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
@ -44,7 +45,7 @@ socks5unix
|
|||
HTTPS GET with host name using SOCKS5h via unix sockets
|
||||
</name>
|
||||
<command>
|
||||
https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%SOCKSUNIXPATH
|
||||
https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER -k --proxy socks5h://localhost%PWD/%SOCKSUNIXPATH
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
@ -5980,8 +5980,8 @@ if ($gdbthis) {
|
|||
}
|
||||
}
|
||||
|
||||
$HTTPUNIXPATH = "http$$.sock"; # HTTP server Unix domain socket path
|
||||
$SOCKSUNIXPATH = $pwd."/socks$$.sock"; # HTTP server Unix domain socket path, absolute path
|
||||
$HTTPUNIXPATH = "$PIDDIR/http.sock"; # HTTP server Unix domain socket path
|
||||
$SOCKSUNIXPATH = "$PIDDIR/socks.sock"; # SOCKS server Unix domain socket path
|
||||
|
||||
#######################################################################
|
||||
# clear and create logging directory:
|
||||
|
|
Loading…
Reference in New Issue
Block a user