Uh oh!
There was an error while loading. Please reload this page.
Fix test_max_incomplete_event_size_countermeasure test - #184
Conversation
anton-ryzhov
commented
Feb 17, 2026
@njsmith does this PR miss something or could it be merged? |
njsmith
commented
Feb 18, 2026
I guess I'm not seeing anything wrong with this, but I also don't understand what the purpose of this is? What was it not testing before that it does test now? |
anton-ryzhov
commented
Feb 18, 2026
Thesetwo blocks demonstrate and test that the same payload is handled fine with But in fact the first block doesn't ensure that, it doesn't fail if we set So, the successful case was always successful regardless of the configuration |
njsmith
commented
Feb 19, 2026
Ohh I see yeah that makes sense for the first change, good catch. Still don't think I understand the motivation for the second change? |
anton-ryzhov
commented
Feb 19, 2026
To be honest I don't remember.
Do you want me to revert it? |
This test was not actually testing what it should —
max_incomplete_event_sizelimit 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 onmax_incomplete_event_size