tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Docs: ADR 0012 Revision 2 and an ADR 0004 note — slow clients, name resolution, shared sockets (issues #220–#222)

Written before the code, as ADR 0043 was for the optimiser; all Proposed,
for engineering review (#44).

- ADR 0012 Revision 2: a deadline per request head (`head_timeout`); a
  limit on open connections (`max_open`), counted by the watchdogs; a
  head scanned once (`tl_http_parse_head_end`) instead of copied and
  parsed again per read, and its limit checked on whole heads too;
  `accept` backing off; one `Transfer-Encoding` only; `connect` and
  `listen` resolving on the blocking pool (`tl_net_resolve`) and checking
  the port range.
- ADR 0004 note: every actor waiting on a socket is kept and woken, and
  readiness is a count of the reactor's events instead of a flag per
  socket, so neither a second waiter nor an event between `WouldBlock`
  and parking is lost.

The ADR index lists them, with the notes this stack added to ADRs 0041
and 0043.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 0222bdd0c3c6bb5f4d24cdae30d54d88a86a9119

Parents 1b99666

3 fichiers modifiés, 56 ajouts, 2 suppressions