mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-04 23:29:42 +00:00
REGTEST: Fix LEVEL 4 script 0 of "connection" module.
Prevent this script from creating a UNIX socket in ${testdir} which is the parent directory of the script. Prefer use ${tmpdir} which is the temporary working directory for the script.
This commit is contained in:
parent
a6cf7112bb
commit
d92ae75a90
@ -36,14 +36,14 @@ haproxy h1 -conf {
|
|||||||
|
|
||||||
listen http
|
listen http
|
||||||
bind-process 1
|
bind-process 1
|
||||||
bind unix@${testdir}/http.socket accept-proxy name ssl-offload-http
|
bind unix@${tmpdir}/http.socket accept-proxy name ssl-offload-http
|
||||||
option forwardfor
|
option forwardfor
|
||||||
|
|
||||||
listen ssl-offload-http
|
listen ssl-offload-http
|
||||||
option httplog
|
option httplog
|
||||||
bind-process 2-4
|
bind-process 2-4
|
||||||
bind "fd@${ssl}" ssl crt ${testdir}/common.pem ssl no-sslv3 alpn h2,http/1.1
|
bind "fd@${ssl}" ssl crt ${testdir}/common.pem ssl no-sslv3 alpn h2,http/1.1
|
||||||
server http unix@${testdir}/http.socket send-proxy
|
server http unix@${tmpdir}/http.socket send-proxy
|
||||||
} -start
|
} -start
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user