hyperium / h2

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

`max_send_buffer_size` documentation states default is 400 MB. It is 400 KB. #718

Closed Protryon closed 8 months ago

Protryon commented 8 months ago

The documentation for max_send_buffer_size state the default is 400 MB. It appears to be 400 KB from looking at the code. We we're pretty alarmed by this at first.

seanmonstar commented 8 months ago

Oh, good catch! Where was the mistake, in hyper or in h2? Want to submit a PR?

Protryon commented 8 months ago

It was in h2 documentation. Yeah I'll submit one later today I suppose.