Files
browser/src
Karl Seguin a6cd019118 Add http_max_response_size
This adds a --http_max_response_size argument to the serve and fetch command
which is enforced by the HTTP client. This defaults to null, no limit.

As-is, the ScriptManager allocates a buffer based on Content-Length. Without
setting this flag, a server could simply reply with Content-Length: 99999999999
9999999999  to cause an OOM. This new flag is checked both once we have the
header if there's a content-length, and when reading the body.

Also requested in https://github.com/lightpanda-io/browser/issues/415
2026-02-09 13:16:18 +08:00
..
2026-02-08 20:43:58 +08:00
2026-01-29 21:00:06 +08:00
2026-02-09 13:16:18 +08:00
2026-02-09 13:16:18 +08:00
2026-01-19 09:12:16 +08:00
2026-02-07 08:34:59 +08:00
2026-01-24 07:59:41 +08:00
2026-01-29 19:44:10 +08:00
2026-02-04 13:48:07 +00:00