gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2a4cfc552a4cfc55jukebox: library screens (songs, artists, albums, artist, album, search, favourites), compact player bar, /stream with Range, thumbnails, virtual list vendored, ui gate and real-library checkmre2a4cfc55/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

  • 2a4cfc55jukebox: library screens (songs, artists, albums, artist, album, search, favourites), compact player bar, /stream with Range, thumbnails, virtual list vendored, ui gate and real-library checkmre
  • 93a44212jukebox: report, numbers of the full scan, notes on the index key rulemre
  • bf5167dajukebox: index keys without commas (mpackdb loses them after a reopen), comma fixture and gate checksmre
  • 28a82fa2jukebox: README, STATUS, LOG, DECISIONSmre
  • d13987dfjukebox: library scanner, ID3 reader, mpackdb database and JSON API, with fixtures and a gatemre