tracker
All repositories: gitoria
796 B
\* Fixture for ws-handshake-order.mjs — a WebSocket server whose GET /holdbroadcasts 16 MiB to every peer. The driver's stalled peers never read, soeach one holds the broadcast (and with it the plugin's peer lock) ~100 msbefore it is dropped; meanwhile the driver upgrades one more connection. *\import { NativeWebSocketServer, Response } from 'hl:http1'import { env } from 'hl:proc'inherit NativeWebSocketServerport = env('HL_TEST_PORT') != null ? toNumber(env('HL_TEST_PORT')) : 14981blob = 'abcdefghijklmnopqrstuvwxyz012345'.repeat(512 * 1024) // 16 MiBon request(req) {if (req.path == '/hold') {return new Response("held for " + broadcast(blob), { status = 200; })}return new Response("ok", { status = 200; })}console.log("listening on " + port)listen()
Branches
Latest commits
- 2f391aa9Log: HM50 startedmre
- 4b59c03dHM50 mission: doc pathmre
- ed526d67HM50 missionmre
- 2f986ca3Log: RT50 passmre
- 1c4715a4RT50 mission: day50 repro retestmre
- 57d1c0dcLog: day50 retest requestmre
- 60b1f419Log: Anton #336 result, wake checkmre
- 919a18aalog: scratchmre
- 6b504440status tidymre
- 9332bd10log: DP70 livemre
- be11daa0DP70 brief fixmre
- 886a7028DP70 brief, HM67 mergedmre
- b41cdd6dMerge hm67-searchids: packed search IDsmre
- 385904eaReport HM67 matched heap measurements and gate proofmre
- e5c9b659Pack retained search IDs into UTF-8 bytesmre
- 62a5f6c7HM67 brief, HM66 mergedmre
- b32b8440Merge hm66-catalogindex: packed catalog indexmre
- 2db0f7adReport HM66 heap measurements and validationmre
- 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
- 71134e21HM66 briefmre