moonchen commented on code in PR #13278:
URL: https://github.com/apache/trafficserver/pull/13278#discussion_r3439542552


##########
src/proxy/PluginVC.cc:
##########
@@ -522,6 +528,11 @@ PluginVC::process_write_side()
     return;
   }
 
+  // Past this point there is data to move: count a write-side pass for the 
owning plugin
+  if (core_obj->_transfers != nullptr) {
+    core_obj->_transfers->increment(1);
+  }
+

Review Comment:
   Fixed in a6ab8ac968 — moved the increment after `transfer_bytes` and gated 
it on a positive byte count, so only passes that actually move data are counted.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to