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/02/21 08:43:26 UTC

[trafficserver] branch quic-latest updated: Prevent logs for unexpected events on EVENT_IMMEDIATE

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 aea4c6c  Prevent logs for unexpected events on EVENT_IMMEDIATE
aea4c6c is described below

commit aea4c6c2c9109745554733ceb17c0b754ead3ab0
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Wed Feb 21 11:26:15 2018 +0900

    Prevent logs for unexpected events on EVENT_IMMEDIATE
---
 iocore/net/QUICNetVConnection.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index cb0beae..1e10a76 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -612,6 +612,9 @@ QUICNetVConnection::state_connection_closing(int event, Event *data)
     this->_close_closing_timeout(data);
     this->_switch_to_close_state();
     break;
+  case EVENT_IMMEDIATE:
+    // nothing to do (maybe)
+    break;
   default:
     QUICConDebug("Unexpected event: %s (%d)", QUICDebugNames::quic_event(event), event);
   }
@@ -638,6 +641,9 @@ QUICNetVConnection::state_connection_draining(int event, Event *data)
     this->_close_closing_timeout(data);
     this->_switch_to_close_state();
     break;
+  case EVENT_IMMEDIATE:
+    // nothing to do (maybe)
+    break;
   default:
     QUICConDebug("Unexpected event: %s (%d)", QUICDebugNames::quic_event(event), event);
   }

-- 
To stop receiving notification emails like this one, please contact
maskit@apache.org.