Commit Graph
11 Commits
Author SHA1 Message Date
Halil Durak 5b215d7fe9 header_parser: remove OWS off of header values 2026-08-06 19:16:59 +03:00
Halil Durak 92b1eae4c7 introduce header_parser.parseRequest 2026-08-06 19:16:59 +03:00
Halil Durak 82a11ee910 header_parser: add a test block for WS validator 2026-08-06 19:16:58 +03:00
Halil Durak 46ce6cc1dc rework Connection.upgrade with header_parser 2026-08-06 19:16:58 +03:00
Karl Seguin bdce49a4b5 refactor: Introduce Arena wrapper
Introduces a ArenaAllocator wrappre (lp.Arena). This is groundwork for better
memory tracking and reporting memory usage to v8. This is almost purely a
mechanical change to lay a foundation for a follow up PR that will address
https://github.com/lightpanda-io/browser/issues/3027

Some code became a bit leaner: a pooled arena can release itself (it has a
reference to the ArenaPool).

Some code became uglier: The Frame has a `_local_arena: *lp.Arena` and a
`local_arena: Allocator` (same with call_arena, and same with a few other types)
so that consumers aren't impacted (they continue to use `frame.local_arena`).
2026-07-30 13:02:13 +08:00
Halil Durak 844c8d0846 update tests 2026-07-29 12:51:49 +03:00
Halil Durak f4a98a9e68 header_parser: de-inline everything 2026-07-29 12:51:49 +03:00
Halil Durak 50076f538a header_parser: Cursor.skipSpaces now skips HTAB 2026-07-29 12:51:49 +03:00
Halil Durak 7d0524073c header_parser: allow HTAB in header values 2026-07-29 12:51:48 +03:00
Halil Durak 7b29ec4a1a header_parser: simplify broadcast 2026-07-29 12:51:48 +03:00
Halil Durak 2ca2c44faf simd.zig -> network/header_parser.zig
Also migrates to `Cursor` API of `header_parser`.
2026-07-29 12:51:47 +03:00