Restore tickets support

This commit is contained in:
cpq committed 2023-09-21 18:43:33 +01:00
1 parent 9055a83b4f
commit 9ec48e41f7
9 files changed
+120 -16

No files matched your search

+2
View File
@@ -228,6 +228,7 @@ void mg_mgr_free(struct mg_mgr *mgr) {
#if MG_ENABLE_EPOLL
if (mgr->epoll_fd >= 0) close(mgr->epoll_fd), mgr->epoll_fd = -1;
#endif
mg_tls_ctx_free(mgr);
}
void mg_mgr_init(struct mg_mgr *mgr) {
@@ -252,4 +253,5 @@ void mg_mgr_init(struct mg_mgr *mgr) {
mgr->dnstimeout = 3000;
mgr->dns4.url = "udp://8.8.8.8:53";
mgr->dns6.url = "udp://[2001:4860:4860::8888]:53";
mg_tls_ctx_init(mgr);
}