trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r909713 - /incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc
Date Sat, 13 Feb 2010 03:50:56 GMT
Author: zwoop
Date: Sat Feb 13 03:50:55 2010
New Revision: 909713

URL: http://svn.apache.org/viewvc?rev=909713&view=rev
Log:
TS-179: Undo the commit, postponed until 2.1.0.

Modified:
    incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc

Modified: incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc?rev=909713&r1=909712&r2=909713&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc (original)
+++ incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc Sat Feb 13 03:50:55 2010
@@ -103,6 +103,9 @@
 {
   Debug("cache_plugin", "[NewCacheVC::reenable] this=%lX vio=%lX", (long) this, (long) vio);
   if (_vio.op == VIO::WRITE) {
+    if (!_vio.buffer.reader()->read_avail()) {
+      ink_assert(!"useless reenable of cache write");
+    }
     SET_HANDLER(&NewCacheVC::handleWrite);
     if (!trigger) {
       trigger = vio->mutex->thread_holding->schedule_imm_local(this);



Mime
View raw message