You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2011/08/18 18:59:33 UTC
svn commit: r1159315 -
/trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc
Author: zwoop
Date: Thu Aug 18 16:59:33 2011
New Revision: 1159315
URL: http://svn.apache.org/viewvc?rev=1159315&view=rev
Log:
TS-880 Major performance problem with second request on same keep-alive connection
Author: William Bardwell and weijin.
Review: "everyone" ;)
Note that this is only a partial solution, for a future release, we should
try to use the optimal solution of migrating the VConns across EThreads.
It is just too risky right now. I'll file a separate bug for that.
Modified:
trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc
Modified: trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc?rev=1159315&r1=1159314&r2=1159315&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/UnixNetVConnection.cc Thu Aug 18 16:59:33 2011
@@ -706,6 +706,8 @@ UnixNetVConnection::reenable(VIO *vio)
nh->write_enable_list.push(this);
}
}
+ if (nh->trigger_event && nh->trigger_event->ethread->signal_hook)
+ nh->trigger_event->ethread->signal_hook(nh->trigger_event->ethread);
} else {
if (vio == &read.vio) {
ep.modify(EVENTIO_READ);