Join GitHub today
Accurate byte counters #2558
There was a regression from Varnish 4.0 to 4.1, where the response
This patch changes the counters to show the amount of bytes sent as
ESI subrequests will as before in their log transactions report the number
Some test cases have been adjusted to account for the new counter behaviour.
One new test case added that attempts to catch this regression.
Yes, this supersedes #2536 .
I see that my enterprising test case for this failed on travis. It seemed to work fine on my computer, but I was worried that the test case for this would be brittle. We might want to drop the test case, or come up with some better way of testing the interrupted writes.