gitoriaLog in with ident

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit51a7bcdf51a7bcdfident: Hybriel master 73267707 (#122); /code uses the new page() signature; pending address passed as parameter; once-checksmre51a7bcdf/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

  • 51a7bcdfident: Hybriel master 73267707 (#122); /code uses the new page() signature; pending address passed as parameter; once-checksmre
  • 836f644fident#24: installable app (manifest, service worker, data-free offline /start), own iconmre
  • 8bebbbf2deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
  • cc063ea2deploy.sh: never send .git or .gitignore to Byrodinmre
  • 81b15b7bState of 2026-09-27, before the move to gitoriamre