diff options
author | Kirilll Zaborsky <[email protected]> | 2015-07-24 14:02:48 +0300 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-09-08 18:16:47 +0200 |
commit | a66d9fb8813d32c7ded2253a7a5904f5b20b5ba8 (patch) | |
tree | 481bb6bcd67d3d0e095e543713b4376184df0278 /lib/inets/test/httpc_proxy_SUITE_data | |
parent | ee5587d585052fe7b64c972029a6c68c403b71dc (diff) | |
download | otp-a66d9fb8813d32c7ded2253a7a5904f5b20b5ba8.tar.gz otp-a66d9fb8813d32c7ded2253a7a5904f5b20b5ba8.tar.bz2 otp-a66d9fb8813d32c7ded2253a7a5904f5b20b5ba8.zip |
inets: Forward connection errors with https proxy
httpc should return meaningful error reason disregarding whether
it is being used with http proxy or not
Diffstat (limited to 'lib/inets/test/httpc_proxy_SUITE_data')
-rwxr-xr-x | lib/inets/test/httpc_proxy_SUITE_data/server_proxy.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/inets/test/httpc_proxy_SUITE_data/server_proxy.sh b/lib/inets/test/httpc_proxy_SUITE_data/server_proxy.sh index 9d1698c386..473024ae63 100755 --- a/lib/inets/test/httpc_proxy_SUITE_data/server_proxy.sh +++ b/lib/inets/test/httpc_proxy_SUITE_data/server_proxy.sh @@ -169,6 +169,8 @@ MaxRequestsPerChild 0 ViaProxyName "tinyproxy" ConnectPort $APACHE_HTTPS_PORT +# to test connect error +ConnectPort $APACHE_HTTP_PORT EOF (tinyproxy -d -c tinyproxy.conf 1>/dev/null 2>&1 </dev/null &)& wait_for_pidfile tinyproxy.pid |