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/03/30 02:50:42 UTC
[trafficserver] branch quic-latest updated: Check if
alt_con_manager is available
This is an automated email from the ASF dual-hosted git repository.
maskit 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 830ed66 Check if alt_con_manager is available
830ed66 is described below
commit 830ed665bb245b0c83aa9eb985559b55c87dc548
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Fri Mar 30 11:49:46 2018 +0900
Check if alt_con_manager is available
alt_con_manager is not available until handshake completion
---
iocore/net/QUICNetVConnection.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 460c547..0502b38 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -215,7 +215,9 @@ QUICNetVConnection::free(EThread *t)
this->_ctable->erase(this->_original_quic_connection_id, this);
this->_ctable->erase(this->_quic_connection_id, this);
- this->_alt_con_manager->invalidate_alt_connections();
+ if (this->_alt_con_manager) {
+ this->_alt_con_manager->invalidate_alt_connections();
+ }
/* TODO: Uncmment these blocks after refactoring read / write process
this->_udp_con = nullptr;
--
To stop receiving notification emails like this one, please contact
maskit@apache.org.