This is an automated email from the ASF dual-hosted git repository.
masaori 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 6183b8e Re-randomize Connection ID only if TS received RETRY packet
6183b8e is described below
commit 6183b8ef8f8ca5f502acffc834ac437db0b0568e
Author: Masaori Koshiba <[email protected]>
AuthorDate: Tue Mar 27 14:04:41 2018 +0900
Re-randomize Connection ID only if TS received RETRY packet
---
iocore/net/QUICNetVConnection.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index cc8e72b..ae53aa4 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -568,8 +568,7 @@ QUICNetVConnection::state_handshake(int event, Event *data)
this->_switch_to_close_state();
}
} else {
- if (this->get_context() == NET_VCONNECTION_OUT &&
(this->_last_received_packet_type == QUICPacketType::UNINITIALIZED ||
-
this->_last_received_packet_type == QUICPacketType::RETRY)) {
+ if (this->get_context() == NET_VCONNECTION_OUT &&
(this->_last_received_packet_type == QUICPacketType::RETRY)) {
QUICConnectionId tmp = this->_original_quic_connection_id;
this->_original_quic_connection_id.randomize();
QUICConDebug("Connection ID %" PRIx64 " has been changed to %" PRIx64,
static_cast<uint64_t>(tmp),
--
To stop receiving notification emails like this one, please contact
[email protected].