bugfix: downstream connected success set is_app_not_pinning

This commit is contained in:
luwenpeng
2024-10-17 15:00:51 +08:00
parent 5a1ecfba92
commit 89a4a16713

View File

@@ -1944,6 +1944,10 @@ static void ssl_client_connected_eventcb(struct bufferevent * bev, short events,
}
s_stream->negotiated_version=SSL_version(s_stream->ssl);
ssl_stream_set_cmsg_string(s_stream, TFE_CMSG_SSL_CLIENT_SIDE_VERSION, SSL_get_version(s_stream->ssl));
struct ssl_service_status status;
memset(&status, 0, sizeof(status));
status.is_app_not_pinning = 1;
ssl_service_cache_write(mgr->svc_cache, s_upstream->client_hello, s_stream->tcp_stream, &status);
promise_success(p, ctx);
}