Changed the order of handlers: protocol first, user second

This commit is contained in:
Sergey Lyubka authored and Sergio R. Caprile committed 2024-01-26 10:34:24 -03:00
1 parent dd6458262d
commit 0fc0230364
5 files changed
+25 -38

No files matched your search

+1 -1
View File
@@ -1407,7 +1407,7 @@ static void test_http_no_content_length(void) {
for (i = 0; i < 1000 && strchr(buf2, 'c') == NULL; i++) mg_mgr_poll(&mgr, 10);
MG_INFO(("[%s] [%s]", buf1, buf2));
ASSERT(strcmp(buf1, "mc") == 0);
ASSERT(strcmp(buf2, "cm") == 0); // See #1475
ASSERT(strcmp(buf2, "mc") == 0);
mg_mgr_free(&mgr);
ASSERT(mgr.conns == NULL);
}