On Wed, 07 Dec 2011 m.tr...@gmx.de wrote:
>Hi,
>
>I have added support for the 'HTTP CONNECT' command to s_client.
>Maybe it's useful for someone else.
>
>Regards
>Michael

Hello Michael.

I was doing some SSL diagnostics through a series of
proxy tunnels and was about to hack HTTP CONNECT support
for s_client when I came across your patch. Thank you for
sharing that!

I introduced a few slight changes: a) made CONNECT string
RFC2817 compliant, b) shutdown on non-success of CONNECT,
and c) check to prevent NULL deref. of connect_str.

Similarly, I share for those who might find this useful.

Cheers.

--mancha

Attachment: openssl-0.9.8y-s_client-proxy.patch
Description: Binary data

Attachment: openssl-1.0.1e-s_client-proxy.patch
Description: Binary data

Reply via email to