.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "TSVCONNREENABLE" "3ts" "Jan 06, 2024" "9.2" "Apache Traffic Server" .SH NAME TSVConnReenable \- TSVConnReenable API function .SH TSVCONNREENABLE .SS Synopsis .INDENT 0.0 .INDENT 3.5 .sp .EX #include .EE .UNINDENT .UNINDENT .INDENT 0.0 .TP .B void TSVConnReenable(\fI\%TSVConn\fP svc) .UNINDENT .SS Description .sp Re\-enable the SSL connection \fIsvc\fP\&. If a plugin hook is called, ATS processing on that connection will not resume until this is invoked for that connection. .sp If the server is running OpenSSL 1.0.2, the plugin writer can pause SSL handshake processing at the certificate callback by not reenabling the connection. Running an OpenSSL versions older than 1.0.2, the handshake processing in \fBSSL_accept\fP will not be stopped even if the SNI callback does not re\-enable the connection. .sp Additional processing could re\-enable the virtual connection causing the \fBSSL_accept\fP 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. .sp This call does appropriate locking and scheduling, so it is safe to call from another thread. .SH TSVCONNREENABLEEX .SS Synopsis .sp \fI#include \fP .INDENT 0.0 .TP .B void TSVConnReenableEx(\fI\%TSVConn\fP svc, \fI\%TSEvent\fP event) .UNINDENT .SS Description .sp An extended version of TSVConnEnable that allows the plugin to return a status to the core logic. If all goes well this is TS_EVENT_CONTINUE. However, if the plugin wants to stop the processing it can set the event to TS_EVENT_ERROR. .sp For example, in the case of the TS_SSL_VERIFY_SERVER_HOOK, the plugin make decide the origin certificate is bad. By calling TSVonnReenable with TS_EVENT_ERROR, the certificate check will error and the TLS handshake will fail. .SH COPYRIGHT 2024, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .