mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Add profiling capability
This commit is contained in:
1 parent
c8105cffba
commit
693316de44
15 files changed
+240
-24
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user