tobogganSe connecter

louise

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

Runtime: HTTP framing in its own module, parsed into Rust types and unit-tested (issue #62)

tl_http_parse_request and tl_http_parse_chunk move from net.rs (sockets)
to http.rs. The parsing is now plain Rust over &[u8] (parse_head,
parse_chunk) returning Rust enums; the externs only build std/http's
Head and Chunk values. Unit tests cover partial input, offsets past the
end, malformed heads, too many headers, non-decimal, out-of-range and
conflicting Content-Lengths, and invalid or oversized chunk sizes.

The two copies of the string helper become values::string, next to
values::text (prims::text_of only forwarded to it). Behaviour is
unchanged.

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

olivier · il y a 1 mois · 2d65e5a2f5f150fabe17e23bea35472b96b8d348

Parents 1c901f4

6 fichiers modifiés, 457 ajouts, 136 suppressions