gitoriaLog in with ident

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0fb80b570fb80b57components: Hybriel master ff51cf46 (re-vendor round)mre0fb80b57/plugins/http1/tests/tls_on_plain_port.hl

617 B

  1. \* Fixture for tls-on-plain-port.mjs — a plain (no TLS) hl:http1 server that
  2. answers every request "ok". The driver sends a TLS-ClientHello-shaped
  3. prefix at this port's raw socket and checks it is closed at once, then
  4. sends an ordinary HTTP request at the same port and checks it still
  5. answers. *\
  6. import { NativeHttpServer, Response } from 'hl:http1'
  7. import { env } from 'hl:proc'
  8. inherit NativeHttpServer
  9. Number port = env('HL_TEST_PORT') != null ? toNumber(env('HL_TEST_PORT')) : 14980
  10. on request(req) {
  11. return new Response("ok", { status = 200; })
  12. }
  13. console.log("listening on " + port)
  14. listen()

Branches

Latest commits

  • 0fb80b57components: Hybriel master ff51cf46 (re-vendor round)mre
  • 57408b6ecomponents#14: installable app (manifest, service worker, offline index), own iconmre
  • 317bd09fdeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • becbd59bcomponents#13: modal dialog (<dialog> based, focus wrap, backdrop/Esc/x close with reason, scroll lock, footer buttons)mre
  • 367dd19adeploy.sh: never send .git or .gitignore to Byrodinmre
  • 4b4dabe5State of 2026-09-27, before the move to gitoriamre