]> git.ipfire.org Git - thirdparty/squid.git/commit
Simplify payload tracking
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 15 Nov 2014 15:04:27 +0000 (07:04 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 15 Nov 2014 15:04:27 +0000 (07:04 -0800)
commit8e1007804f7a66a794979213e9a78714514cbcc2
tree22cc50a86d02228930c3839b94eb0a6359c23f9c
parent05f32cc27db62ad362deb353e6c34fc89259e1a0
Simplify payload tracking

There is no need to account for message headers and total reply size
when tracking payloads for excess-data detection.

Simply start tracking payload after the message header block and detect
if the tracked amount ever exceeds expected.

Also make the payload tracking variables private.
src/http.cc
src/http.h