You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sc...@apache.org on 2017/09/19 01:12:08 UTC
[trafficserver] branch quic-latest updated: move state change in
_write_to_read_vio
This is an automated email from the ASF dual-hosted git repository.
scw00 pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/quic-latest by this push:
new 0d3bd62 move state change in _write_to_read_vio
0d3bd62 is described below
commit 0d3bd625dd84405fb0ac42ebd5e3d37715f59b33
Author: scw00 <sc...@apache.org>
AuthorDate: Mon Sep 18 15:50:23 2017 +0800
move state change in _write_to_read_vio
---
iocore/net/quic/QUICStream.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/iocore/net/quic/QUICStream.cc b/iocore/net/quic/QUICStream.cc
index ebc0178..72ab230 100644
--- a/iocore/net/quic/QUICStream.cc
+++ b/iocore/net/quic/QUICStream.cc
@@ -260,6 +260,8 @@ QUICStream::_write_to_read_vio(const std::shared_ptr<const QUICStreamFrame> &fra
Debug("quic_flow_ctrl", "Stream [%" PRIx32 "] [%s] [LOCAL] %" PRIu64 "/%" PRIu64, this->_id,
QUICDebugNames::stream_state(this->_state), this->_local_flow_controller->current_offset(),
this->_local_flow_controller->current_limit());
+
+ this->_state.update_with_received_frame(*frame);
}
void
@@ -290,7 +292,6 @@ QUICStream::recv(const std::shared_ptr<const QUICStreamFrame> frame)
this->reset();
return QUICError(QUICErrorClass::QUIC_TRANSPORT, QUICErrorCode::INTERNAL_ERROR);
}
- this->_state.update_with_received_frame(*frame);
// Flow Control - Even if it's allowed to receive on the state, it may exceed the limit
QUICError error = this->_local_flow_controller->update(frame->offset() + frame->data_length());
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].