{"draft":null,"from":47,"to":318,"files":[{"path":"client/test/attach.test.ts","added":4,"removed":1,"diff":"--- a/client/test/attach.test.ts\n+++ b/client/test/attach.test.ts\n@@ -86,6 +86,9 @@\n \t\t\tres.writeHead(404).end(\"{}\");\n \t\t});\n \t});\n+\t// As fake-server.ts: never close an idle kept-alive connection, or under load the client can reuse one as it closes\n+\t// and fail with ECONNRESET (abso 410).\n+\tissues.keepAliveTimeout = 0;\n \tawait new Promise<void>((ok) => issues.listen(0, \"127.0.0.1\", ok));\n \tissuesUrl = `http://127.0.0.1:${(issues.address() as AddressInfo).port}`;\n });\n@@ -133,7 +136,7 @@\n \t\t\tcalls.map((c) => `${c.method} ${c.url.replace(/^\\/p\\/[^/]+/, \"\")}`),\n \t\t\t[\"POST /a/ann/attachments\", \"POST /a/ann/attachments\", \"POST /a/ann/issue\"],\n \t\t);\n-\t\tassert.equal(calls[0]!.headers[\"x-avcs-name\"], \"shot.png\");\n+\t\tassert.equal(calls[0]!.headers[\"x-abso-name\"], \"shot.png\");\n \t\tassert.equal(calls[0]!.headers[\"content-type\"], \"application/octet-stream\");\n \t\tassert.deepEqual([...calls[0]!.body], [0x89, 0x50, 0x4e, 0x47, 1, 2, 3]);\n \t\tconst opened = JSON.parse(calls[2]!.body.toString()) as { title: string; attachments: string[] };"}],"unmatched":[]}