TSVConnTunnel

Synopsis

#include <ts/ts.h>

TSReturnCode TSVConnTunnel(TSVConn svc)

Description

Set the SSL connection :arg:`svc` to convert to a blind tunnel. Can be called from TS_VCONN_PRE_ACCEPT_HOOK or TS_SSL_SNI_HOOK/TS_SSL_CERT_HOOK.

For this to work from the TS_SSL_SNI_HOOK or TS_SSL_CERT_HOOK, either the server must be running OpenSSL 1.0.2 or a version of OpenSSL 1.0.1 with the appropriate patch installed.