async-h1 icon indicating copy to clipboard operation
async-h1 copied to clipboard

Handle when chunked stream ends prematurely

Open rylev opened this issue 5 years ago • 2 comments

We should have some sort of logic when the chunked stream ends prematurely. Right now we just end the stream and leave it to later steps to (maybe?) catch this issue: https://github.com/http-rs/async-h1/pull/69/files#r392666474

rylev avatar Mar 16 '20 11:03 rylev

I suspect we have an out of bounds read issue with chunked encoding as well. This might inform what to do about error handling.

yoshuawuyts avatar Mar 26 '20 19:03 yoshuawuyts

I managed to hit this case with a stream that doesn't end prematurely: https://github.com/http-rs/async-h1/issues/195

joshtriplett avatar Nov 19 '21 05:11 joshtriplett