trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jplev...@apache.org
Subject svn commit: r902982 - /incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc
Date Mon, 25 Jan 2010 21:28:01 GMT
Author: jplevyak
Date: Mon Jan 25 21:28:00 2010
New Revision: 902982

URL: http://svn.apache.org/viewvc?rev=902982&view=rev
Log:
TS-94: attempt to read all pipe async wakeup events (vj)

Modified:
    incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc

Modified: incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc?rev=902982&r1=902981&r2=902982&view=diff
==============================================================================
--- incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc (original)
+++ incubator/trafficserver/traffic/branches/dev/iocore/net/UnixNet.cc Mon Jan 25 21:28:00
2010
@@ -172,8 +172,8 @@
   inku64 counter;
   NOWARN_UNUSED_RETURN(read(thread->evfd, &counter, sizeof(inku64)));
 #else
-  char dummy;
-  NOWARN_UNUSED_RETURN(read(thread->evpipe[0], &dummy, 1));
+  char dummy[1024];
+  NOWARN_UNUSED_RETURN(read(thread->evpipe[0], &dummy, 1024));
 #endif  
 }
 



Mime
View raw message