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/15 05:43:04 UTC
[trafficserver] branch quic-latest updated (1f37f7b -> 06986e4)
This is an automated email from the ASF dual-hosted git repository.
maskit pushed a change to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.
from 1f37f7b Add draining state to QUICNetVConnection
new e9c5e42 Fix a bug that draining state can cause BAD_ACCESS
new 06986e4 use this_ethread() instead of eventProcessor
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
iocore/net/QUICNetVConnection.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].
[trafficserver] 02/02: use this_ethread() instead of eventProcessor
Posted by ma...@apache.org.
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
commit 06986e42ebb5600ff14b25d7db08a99edf301e74
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon Jan 15 14:42:39 2018 +0900
use this_ethread() instead of eventProcessor
---
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 e085ab3..473133e 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -1045,7 +1045,7 @@ QUICNetVConnection::_schedule_packet_write_ready()
SCOPED_MUTEX_LOCK(packet_transmitter_lock, this->_packet_transmitter_mutex, this_ethread());
if (!this->_packet_write_ready) {
QUICConDebug("Schedule %s event", QUICDebugNames::quic_event(QUIC_EVENT_PACKET_WRITE_READY));
- this->_packet_write_ready = eventProcessor.schedule_imm(this, ET_CALL, QUIC_EVENT_PACKET_WRITE_READY, nullptr);
+ this->_packet_write_ready = this_ethread()->schedule_imm(this, QUIC_EVENT_PACKET_WRITE_READY, nullptr);
}
}
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.
[trafficserver] 01/02: Fix a bug that draining state can cause
BAD_ACCESS
Posted by ma...@apache.org.
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
commit e9c5e429189e3b325f017dd2d3ae329e3d5d7939
Author: Masakazu Kitajo <ma...@apache.org>
AuthorDate: Mon Jan 15 14:42:04 2018 +0900
Fix a bug that draining state can cause BAD_ACCESS
---
iocore/net/QUICNetVConnection.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/iocore/net/QUICNetVConnection.cc b/iocore/net/QUICNetVConnection.cc
index 9cacd78..e085ab3 100644
--- a/iocore/net/QUICNetVConnection.cc
+++ b/iocore/net/QUICNetVConnection.cc
@@ -538,6 +538,7 @@ QUICNetVConnection::state_connection_draining(int event, Event *data)
this->_close_packet_write_ready(data);
break;
case QUIC_EVENT_DRAINING_TIMEOUT:
+ this->_close_draining_timeout(data);
can_switch_to_close_state = true;
break;
default:
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.