We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77df32d commit 8ecd821Copy full SHA for 8ecd821
src/connection.rs
@@ -24,10 +24,7 @@ pub struct Connection {
24
// sufficient for our needs.
25
stream: BufWriter<TcpStream>,
26
27
- // The buffer for reading frames. Unfortunately, Tokio's `BufReader`
28
- // currently requires you to empty its buffer before you can ask it to
29
- // retrieve more data from the underlying stream, so we have to manually
30
- // implement buffering. This should be fixed in Tokio v0.3.
+ // The buffer for reading frames.
31
buffer: BytesMut,
32
}
33
0 commit comments