Add profiling capability

This commit is contained in:
cpq committed 2023-12-08 17:00:42 +00:00
1 parent c8105cffba
commit 693316de44
15 files changed
+240 -24

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
// If s_url is https://, tell client connection to use TLS
if (mg_url_is_ssl(s_url)) {
struct mg_tls_opts opts = {.ca = s_ca, .srvname = host};
struct mg_tls_opts opts = {.ca = s_ca, .name = host};
mg_tls_init(c, &opts);
}