h11 icon indicating copy to clipboard operation
h11 copied to clipboard

Fix `test_max_incomplete_event_size_countermeasure` test

Open anton-ryzhov opened this issue 5 months ago • 0 comments

This test was not actually testing what it should — max_incomplete_event_size limit is only checked for incomplete events, for request before "\r\n\r\n".

get_all_events() before "\r\n\r\n" conditionally raises an exception depending on max_incomplete_event_size

anton-ryzhov avatar Jul 05 '25 22:07 anton-ryzhov