Closed magurotuna closed 2 weeks ago
Looks like the hashbrown crate was recently released which bumped MSRV to 1.65.0. Do we want to bump our MSRV too?
Do we want to bump our MSRV too?
Nah, in our MSRV job, we pin dependencies to a version that works with it. There's a couple others in the CI.yml
file.
I fixed the MSRV failure in #3783
The patch #3528 added the ability for hyper users to configure
max_local_error_reset_streams
via the server builder to hyper v0.14.29. It was then pulled in to hyper v1.2.0 as well in #3530, where the wrong parametermax_pending_accept_reset_streams
is passed to h2's builder asmax_local_error_reset_streams
.This could lead to significant impact especially when a hyper user does not set
max_pending_accept_reset_streams
, because its default value isNone
and passingNone
to h2'smax_local_error_reset_streams
method will make the server vulnerable to DOS attacks.This issue has been fixed in this patch, simply by passing the correct value to the h2's builder method.
Note that the original patch merged into v0.14 does not suffer this problem.