hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.35k stars 270 forks source link

Store buffered data size as usize (fixes #269) #542

Closed nox closed 2 years ago

seanmonstar commented 3 years ago

Does it actually fix #269? I'd think that it's still possible to overflow this if you buffer a few bufs with combined space over a usize. Especially on 32-bit.

nox commented 3 years ago

Probably but this patch still helps, I'll change the commit message though.