s_client: Add basic proxy authentication support
authorMarc <34656315+MarcT512@users.noreply.github.com>
Thu, 3 Jan 2019 00:32:00 +0000 (00:32 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Jan 2019 10:50:33 +0000 (10:50 +0000)
commit69738dadcda1b242a0b5e41d5d2fe4be3f55a448
treec5ee6bca6ce3b5fc39f602a9535df1d1e1889a37
parent3afd537a3c2319f68280804004e9bf2e798a43f7
s_client: Add basic proxy authentication support

1) Add two new flags (-proxy_user & -proxy_pass) to s_client to add support for basic (base64) proxy authentication.
2) Add a "Proxy-Connection: Keep-Alive" HTTP header which is a workaround for some broken proxies which otherwise close the connection when entering tunnel mode (eg Squid 2.6).

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7975)
apps/s_client.c
doc/man1/s_client.pod