This commit is contained in:
Simon Cruanes 2026-02-09 22:36:20 -05:00
parent b87226d1be
commit 2742a4715a
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -17,8 +17,7 @@ let test_header_too_large () =
let _ = Request.Private_.parse_req_start_exn ~client_addr ~buf let _ = Request.Private_.parse_req_start_exn ~client_addr ~buf
~get_time_s:(fun _ -> 0.) str in ~get_time_s:(fun _ -> 0.) str in
failwith "should have failed with 431" failwith "should have failed with 431"
with Common_.Bad_req (431, _) -> with Tiny_httpd_core.Response.Bad_req (431, _) -> () (* expected *)
() (* expected *)
let () = let () =
test_header_too_large () test_header_too_large ()