h11
h11 copied to clipboard
Fix `test_max_incomplete_event_size_countermeasure` test
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