You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/06/19 07:02:13 UTC
trafficserver git commit: TS-3313: Added active queue for incoming
connections Check to see if it is a plugin before trying to add to the active
queue
Repository: trafficserver
Updated Branches:
refs/heads/master 2addb3957 -> 21bf88008
TS-3313: Added active queue for incoming connections
Check to see if it is a plugin before trying to add to the active queue
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/21bf8800
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/21bf8800
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/21bf8800
Branch: refs/heads/master
Commit: 21bf88008bb909ab7e99700c0315a5c91aa2a04b
Parents: 2addb39
Author: Bryan Call <bc...@apache.org>
Authored: Thu Jun 18 22:00:59 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Thu Jun 18 22:00:59 2015 -0700
----------------------------------------------------------------------
proxy/http/HttpClientSession.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/21bf8800/proxy/http/HttpClientSession.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpClientSession.cc b/proxy/http/HttpClientSession.cc
index fdf4d37..b5e87f4 100644
--- a/proxy/http/HttpClientSession.cc
+++ b/proxy/http/HttpClientSession.cc
@@ -121,7 +121,7 @@ HttpClientSession::new_transaction()
ink_assert(current_reader == NULL);
PluginIdentity *pi = dynamic_cast<PluginIdentity *>(client_vc);
- if (client_vc->add_to_active_queue() == false) {
+ if (!pi && client_vc->add_to_active_queue() == false) {
// no room in the active queue close the connection
this->do_io_close();
return;