trailing ws
This commit is contained in:
@@ -146,7 +146,7 @@ impl<T, P, B> Stream for Connection<T, P, B>
|
|||||||
Async::NotReady => {
|
Async::NotReady => {
|
||||||
// Receiving new frames may depend on ensuring that the write buffer
|
// Receiving new frames may depend on ensuring that the write buffer
|
||||||
// is clear (e.g. if window updates need to be sent), so `poll_complete`
|
// is clear (e.g. if window updates need to be sent), so `poll_complete`
|
||||||
// is called here.
|
// is called here.
|
||||||
try_ready!(self.poll_complete());
|
try_ready!(self.poll_complete());
|
||||||
|
|
||||||
// If the write buffer is cleared, attempt to poll the underlying
|
// If the write buffer is cleared, attempt to poll the underlying
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ impl<T, U> ReadySink for FlowControl<T>
|
|||||||
/// > flow-control window and MUST NOT send new flow-controlled frames until it
|
/// > flow-control window and MUST NOT send new flow-controlled frames until it
|
||||||
/// > receives WINDOW_UPDATE frames that cause the flow-control window to become
|
/// > receives WINDOW_UPDATE frames that cause the flow-control window to become
|
||||||
/// > positive.
|
/// > positive.
|
||||||
impl<T> ApplySettings for FlowControl<T>
|
impl<T> ApplySettings for FlowControl<T>
|
||||||
where T: ApplySettings,
|
where T: ApplySettings,
|
||||||
T: ControlStreams
|
T: ControlStreams
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ impl<T, U> Stream for StreamRecvOpen<T>
|
|||||||
|
|
||||||
fn poll(&mut self) -> Poll<Option<T::Item>, T::Error> {
|
fn poll(&mut self) -> Poll<Option<T::Item>, T::Error> {
|
||||||
// Since there's only one slot for pending refused streams, it must be cleared
|
// Since there's only one slot for pending refused streams, it must be cleared
|
||||||
// before polling a frame from the transport.
|
// before polling a frame from the transport.
|
||||||
try_ready!(self.send_pending_refuse());
|
try_ready!(self.send_pending_refuse());
|
||||||
|
|
||||||
trace!("poll");
|
trace!("poll");
|
||||||
|
|||||||
Reference in New Issue
Block a user