Преглед на файлове

Fix: Server with multiple SSL certificates and mg_set_request_handler() not working

Fixes #1335
bel2125 преди 5 дни
родител
ревизия
76c9260abc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -22020,7 +22020,7 @@ mg_start_domain2(struct mg_context *ctx,
 		}
 	}
 
-	new_dom->handlers = NULL;
+	new_dom->handlers = ctx->dd.handlers;
 	new_dom->next = NULL;
 	new_dom->nonce_count = 0;
 	new_dom->auth_nonce_mask = get_random() ^ (get_random() << 31);