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 2010/02/13 04:50:56 UTC

svn commit: r909713 - /incubator/trafficserver/traffic/trunk/iocore/cache/NewCacheVC.cc

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);