~squid/squid/string-purge

Viewing all changes in revision 14566.

  • Committer: Amos Jeffries
  • Date: 2016-02-27 10:22:42 UTC
  • Revision ID: squid3@treenet.co.nz-20160227102242-b5pp1aavhn2n2d7c
Manipulate Via headers as SBuf instead of char* and String

This allows some leeway in size of header processed, although prior
logics will currently prevent >64KB individual lines being encountered it
is still possible for multiple <64KB lines to exist in the mime set.

We take advantage of the ability to remove Via header entries to prevent
overly-long headers being emitted, and emit our entry for forwarding loop
detection in all cases where Via is not disabled.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: