v1.2.0
版本发布时间: 2024-02-21 23:47:21
hyperium/hyper最新发布版本:v1.4.1(2024-07-09 21:41:48)
Features
-
http1: support configurable
max_headers(num)
to client and server (#3523) (b1142448) -
http2:
- add config for
max_local_error_reset_streams
in server (#3530) (d7680e30) - add
initial_max_send_streams
method to HTTP/2 client builder (#3524) (fdfa60d9)- NOTE: The default for this will change in v1.3 to something conservative. If you have an environment where the server can always accept a large amount of concurrent streams, and depend on that for performance, you should set this option manually.
- add
max_pending_accept_reset_streams(num)
back to HTTP/2 server builder (#3507 (a9fa893f)
- add config for
Bug Fixes
- http2: typo in trace logging (#3536) (79862ec2)
-
rt:
Sleep::downcast_mut_pin()
no longer extend lifetime (7206fe30, closes #3556)
Breaking Changes
- The returned lifetime from
Sleep::downcast_mut_pin()
is no longer'static
. This shouldn't affect most usage. This sort of breaking change is needed because it is wrong. (7206fe30)
New Contributors
- @getong made their first contribution in https://github.com/hyperium/hyper/pull/3503
- @dsgallups made their first contribution in https://github.com/hyperium/hyper/pull/3507
- @magurotuna made their first contribution in https://github.com/hyperium/hyper/pull/3524
- @erebe made their first contribution in https://github.com/hyperium/hyper/pull/3536
- @wfly1998 made their first contribution in https://github.com/hyperium/hyper/pull/3523