Merge pull request #2194 from cesanta/frp

Fix http-reverse-proxy for keep-alive incoming connections
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2023-05-16 09:20:21 +01:00
commit b0868a4d0b
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) {