@@ -22,11 +22,11 @@ Both the higher-level `Client` and `Server` types have stability concerns.
22
22
23
23
For the ` hyper::Server ` :
24
24
25
- - The ` Accept ` trait is complex, and too easy to get wrong. If used with TLS, a
26
- slow TLS handshake can affect all other new connections waiting for it to
27
- finish. - The ` MakeService<&IO> ` is confusing. The bounds are an assault on
28
- the eyes. - The ` MakeService ` API doesn't allow to easily annotate the HTTP
29
- connection with ` tracing ` . - Graceful shutdown doesn't give enough control.
25
+ - The ` Accept ` trait is complex, and too easy to get wrong. If used with TLS, a slow TLS handshake
26
+ can affect all other new connections waiting for it to finish.
27
+ - The ` MakeService<&IO> ` is confusing. The bounds are an assault on the eyes.
28
+ - The ` MakeService ` API doesn't allow to easily annotate the HTTP connection with ` tracing ` .
29
+ - Graceful shutdown doesn't give enough control.
30
30
31
31
32
32
It's more common for people to simply use ` hyper::server::conn ` at this point,
@@ -36,7 +36,7 @@ While the `hyper::Client` is much easier to use, problems still exist:
36
36
37
37
- The whole ` Connect ` design isn't stable.
38
38
- ALPN and proxies can provide surprising extra configuration of connections.
39
- - Some ` Connect ` implementations may wish to view the path, in addition to the scheme, host, and port.
39
+ - Some ` Connect ` implementations may wish to view the path, in addition to the scheme, host, and port.
40
40
- Wants ` runtime ` feature
41
41
- The Pool could be made more general or composable. At the same time, more customization is
42
42
desired, and it's not clear
@@ -186,7 +186,7 @@ will be moved to `hyper-util`.
186
186
187
187
The ` Body ` struct is removed. Its internal "variants" are [ separated into
188
188
distinct types] ( https://github.com/hyperium/hyper/issues/2345 ) , and can start
189
- in either ` hyper-utils ` or ` http-body-utils ` .
189
+ in either ` hyper-util ` or ` http-body-util ` .
190
190
191
191
The exported trait ` HttpBody ` is renamed to ` Body ` .
192
192
0 commit comments