mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
Added comment for mg_terminate_ssl() call
This commit is contained in:
1 parent
6ef795e082
commit
1389eec784
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user