Added comment for mg_terminate_ssl() call

This commit is contained in:
Sergey Lyubka
2014-06-19 09:55:10 +01:00
parent 6ef795e082
commit 1389eec784
+1 -1
View File
@@ -127,7 +127,7 @@ static int proxy_event_handler(struct mg_connection *conn, enum mg_event ev) {
// Enable man-in-the-middle SSL mode for oracle.com
if (!strcmp(conn->request_method, "CONNECT") &&
!strcmp(host, "oracle.com")) {
mg_terminate_ssl(conn, "ssl_cert.pem");
mg_terminate_ssl(conn, "ssl_cert.pem"); // MUST return MG_MORE after
return MG_MORE;
}