TSVConnReenable

Synopsis

include <ts/ts.h>

void TSSslVConnReenable(TSVConn svc)

Description

Reenable the SSL connection svc. If a plugin hook is called, ATS processing on that connnection will not resume until this is invoked for that connection.

If the server is running OpenSSL 1.0.1 with the appropraite patch installed or it is running OpenSSL 1.0.2, the plugin writer can pause SSL handshake processing by not reenabling the connection. Without the OpenSSL patch or running an OpenSSL versions older than 1.0.2, the handshake processing in SSL_accept will not be stopped even if the SNI callback does not reenable the connection.

Additional processing could reenable the virtual connection causing the SSL_accept to be called again to complete the handshake exchange. In the case of a blind tunnel conversion, the SSL handshake will never be completed by Traffic Server.

This call does appropriate locking and scheduling, so it is safe to call from another thread.