trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject svn commit: r1145426 - /trafficserver/traffic/trunk/iocore/net/UnixNet.cc
Date Tue, 12 Jul 2011 01:58:48 GMT
Author: zym
Date: Tue Jul 12 01:58:48 2011
New Revision: 1145426

URL: http://svn.apache.org/viewvc?rev=1145426&view=rev
Log:
TS-873 Wrong code in iocore/net/UnixNet.cc

Author: mohan_zl
Review: Leif

Modified:
    trafficserver/traffic/trunk/iocore/net/UnixNet.cc

Modified: trafficserver/traffic/trunk/iocore/net/UnixNet.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/UnixNet.cc?rev=1145426&r1=1145425&r2=1145426&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/UnixNet.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/UnixNet.cc Tue Jul 12 01:58:48 2011
@@ -92,7 +92,7 @@ PollCont::pollEvent(int event, Event *e)
   if (likely(net_handler)) {
     /* checking to see whether there are connections on the ready_queue (either read or write)
that need processing [ebalsa] */
     if (likely
-        (!net_handler->read_ready_list.empty() || !net_handler->read_ready_list.empty()
||
+        (!net_handler->read_ready_list.empty() || !net_handler->write_ready_list.empty()
||
          !net_handler->read_enable_list.empty() || !net_handler->write_enable_list.empty()))
{
       NetDebug("iocore_net_poll", "rrq: %d, wrq: %d, rel: %d, wel: %d", net_handler->read_ready_list.empty(),
                net_handler->write_ready_list.empty(), net_handler->read_enable_list.empty(),



Mime
View raw message