mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 15:42:01 +03:00
resp.bytes() already pulls the whole body into memory before the 5MB check ran, so a malicious server could still OOM the process during download. read_body_capped aborts mid-stream once the cap is hit. also fix goal-seek probe fallback: it could update lo/hi to a genuine bracket without ever setting found=true, throwing "no solution" on cases that do have one. |
||
|---|---|---|
| .. | ||
| main.rs | ||