From 85dcf059333ce65930085fa6a0600aab871d6f44 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 30 Jun 2026 08:52:56 +0300 Subject: reqp: write the built HTTP/1.1 header+body back to p_response parse() constructed the full 'HTTP/1.1 200 OK ... Content-Length ... Content-Type' response into a local s_resp but never assigned it back, so the socket writer sent only the body (HTTP/0.9-style). Traefik/proxies 500'd on these responses. This makes ychat emit proper HTTP/1.1 responses so the f3s ingress can proxy it. --- ychat/src/reqp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ychat/src/reqp.cpp b/ychat/src/reqp.cpp index fbf794f..74b2110 100644 --- a/ychat/src/reqp.cpp +++ b/ychat/src/reqp.cpp @@ -155,6 +155,7 @@ reqp::parse(context *p_context) s_http_cotype_add + "\r\n" ); s_resp.append(*p_response); + *p_response = s_resp; // } } -- cgit v1.2.3