Fix keep-alive

This commit is contained in:
Sergio R. Caprile committed 2023-05-15 14:11:12 -03:00
1 parent 9c0fe8999d
commit 9088b00006
1 file changed
+1
+1
View File
@@ -64,6 +64,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
}
c->fn_data = c2;
forward_request(hm, c2);
c->is_resp = 0; // process further msgs in keep-alive connection
c2->is_hexdumping = 1;
}
} else if (ev == MG_EV_CLOSE) {