You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2018/01/16 03:33:05 UTC

[trafficserver] branch quic-latest updated: Check handshake status before connection migration

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 7972edd  Check handshake status before connection migration
7972edd is described below

commit 7972edd073ffe90a5c647d88f7fe8cfab8ca9403
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Jan 16 12:32:50 2018 +0900

    Check handshake status before connection migration
---
 iocore/net/QUICNetVConnection.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 3ebf90d..582025d 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -719,7 +719,7 @@ QUICNetVConnection::_state_common_receive_packet()
   net_activity(this, this_ethread());
 
   // Check connection migration
-  if (p->connection_id() != this->_quic_connection_id) {
+  if (this->_handshake_handler->is_completed() && p->connection_id() != this->_quic_connection_id) {
     for (unsigned int i = 0; i < countof(this->_alt_quic_connection_ids); ++i) {
       AltConnectionInfo &info = this->_alt_quic_connection_ids[i];
       if (info.id == p->connection_id()) {

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].