Comments (4)
Yes, there is a test for this, added in https://github.com/carllerche/h2/pull/79/files#diff-4f914e238fb524bbb31a2d7da9aa955cR228.
from h2.
confirmed that poll_data currently returns None when the underlying connection is lost (i.e. due to a flow control error etc).
in h2::proto::streams::recv
pub fn poll_data(&mut self, stream: &mut Stream<B, P>)
-> Poll<Option<Bytes>, proto::Error>
{
// TODO: Return error when the stream is reset
from h2.
I think this was fixed in #79.
from h2.
I guess we should confirm then close.
from h2.
Related Issues (20)
- FlowControl problem when the initial_stream_window_size is smller than 65535
- Mem leak when releasing stream HOT 3
- Add option to send ORIGIN frame HOT 3
- Http2 protocol violation HOT 11
- Client receives `unexpected end of file` randomly
- Add a setter for `header_table_size` HOT 3
- How does this crate handle flow control? HOT 1
- Receiving `FRAME_SIZE_ERROR` in complex setup HOT 1
- Suspicious documentation clause about enable_push - missing negation? HOT 1
- Error while making a request hyper::Error(Http2, Error { kind: Reset(StreamId(1), PROTOCOL_ERROR, Remote) }) HOT 2
- Does the memory have residual memory? HOT 7
- Consider moving hyper's h2 support types to h2
- CVE-2023-22466 - tokio vulnerability HOT 1
- Server hangs when there is delay between headers and body HOT 2
- GitHub security advisory - vulnerable to denial of service HOT 1
- Server doesn't send flow control WINDOW_UPDATE frames HOT 2
- Panicking following 0.3.17 HOT 1
- Unable to send response. HOT 3
- assertion failed: self.num_remote_reset_streams > 0 HOT 1
- How to set frame priority / Weight ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h2.