gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc9861533c9861533Record B44 component proof and browser gate blockermrec9861533/plugins/http1/tests/ws_handshake_order.hl

796 B

  1. \* Fixture for ws-handshake-order.mjs — a WebSocket server whose GET /hold
  2. broadcasts 16 MiB to every peer. The driver's stalled peers never read, so
  3. each one holds the broadcast (and with it the plugin's peer lock) ~100 ms
  4. before it is dropped; meanwhile the driver upgrades one more connection. *\
  5. import { NativeWebSocketServer, Response } from 'hl:http1'
  6. import { env } from 'hl:proc'
  7. inherit NativeWebSocketServer
  8. port = env('HL_TEST_PORT') != null ? toNumber(env('HL_TEST_PORT')) : 14981
  9. blob = 'abcdefghijklmnopqrstuvwxyz012345'.repeat(512 * 1024) // 16 MiB
  10. on request(req) {
  11. if (req.path == '/hold') {
  12. return new Response("held for " + broadcast(blob), { status = 200; })
  13. }
  14. return new Response("ok", { status = 200; })
  15. }
  16. console.log("listening on " + port)
  17. listen()

Branches

Latest commits

  • c9861533Record B44 component proof and browser gate blockermre
  • 1b7413beIgnore detached media events and space demo option outputsmre
  • ca3b4959Re-vendor complete Hybriel plugins and runtime to day44mre
  • df9e7df9Last-item checks run in the browser gate (components#26 fixed on day41); media-player loop is a plain Booleanmre
  • 895a5afcRe-vendor complete Hybriel plugins and runtime to day41mre
  • 16006bb3Backup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 88397fc3Re-vendor complete Hybriel plugins and runtime to day39mre
  • 9b872cedRecord IC28 deployment and live icon verificationmre
  • 46fefaa7Count the icons entry in the offline home-page checkmre
  • c7e14cabRecord IC28 rerun and unchanged-main baseline comparisonmre
  • 5e090ffdRecord IC28 review evidence and gate resultsmre
  • adfe2c4dAdd shuffle, repeat and repeatOne shared iconsmre
  • c96709c8media-player: skip = false and repeat = 'one' options (jukebox#19)mre
  • bd4aa808Record VL24 deployment and live verificationmre
  • e5b98ecfRun virtual-list gate before deploymentmre
  • 2e9b4a8evirtual-list: into main, with centerId and scrollTop/onScroll (jukebox#20)mre
  • 69954249Align all plugin sources with Hybriel day38bmre
  • f740f666Re-vendor components to Hybriel set day38bmre
  • 8176eb14Record CS23b deployment and live verificationmre
  • 84e3ddaaRemove blank line before pagination Style closing bracemre