hyper
hyper copied to clipboard
An HTTP library for Rust
Closes https://github.com/hyperium/hyper/issues/2853.
Signed-off-by: Xuanwo Fix https://github.com/hyperium/hyper/issues/2922 I'm not sure whether I correctly did this, PTAL.
when hyper process h2 protocol requests with large body,memory keeps increasing.I dump two jeprof.out.x.x.m2.heap,compare them,find _$LT$h2..codec..framed_read..FramedRead$LT$T$GT$$u20$as$u20$futures_core..stream..Stream$GT$::poll_next::hd05c05a51fa46d93 malloc most memory,and not free. 0.0 0.0% 100.0% 1361.2 89.8% 0x000056341f367654 bytes::bytes_mut::BytesMut::reserve_inner::hfde02843ef3655ca + 132...
hyper only support header read timeout for http1.1? Why notdevelop this feature for h2? @seanmonstar
Make [a simplified `Service` trait](https://github.com/hyperium/hyper/blob/master/docs/ROADMAP.md#service) that is only the `call` method. Update the server `Connection` to use it instead of tower-service.
It is very common to want a body type that allows for a push-based API, and knowledge of when those bytes have been *written to the socket*. We can provide...
We want strict control over what types from dependencies we expose, and there is a tool that can help us check that in CI: [cargo api-linter](https://github.com/awslabs/smithy-rs/tree/main/tools/api-linter). We should start by...
This has been suggested [before](https://discord.com/channels/500028886025895936/670880858630258689/771157251666608159): the current trait `hyper::body::HttpBody` should be renamed to `hyper::Body`, and the existing struct `hyper::Body` should be split up into more descriptive implementations. I'm coming around...
**Describe the solution you'd like** I'm using `hyper::body::Sender` to send an SSE stream to the client. For each connection there is an associated Tokio task that subscribes to a distributed...