lp://qastaging/~yadi/squid/parser-ng-bug2043
Created by
Amos Jeffries
and last modified
- Get this branch:
- bzr branch lp://qastaging/~yadi/squid/parser-ng-bug2043
Only
Amos Jeffries
can upload to this branch. If you are
Amos Jeffries
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Branch information
Recent revisions
- 13933. By Amos Jeffries
-
Detect 1-byte LF buffer
After Parser-NG upgrades the mime headers buffer omits the first-line
including terminator. A request with no mime content may be a buffer
with only 1 LF byte. The other cases including 2-byte buffers are
already handled within the while-loop. - 13931. By Amos Jeffries
-
Adjust special case checks
The existing headersEnd() does not exit on buffer starting with a single
LF or CRLF.The special cases are:
* buffer contains less than 2 bytes, nothing can match
* buffer begins with LF, check for case A.all other cases are catered for safely within the while loop once e_ptr
has been moved off the beginning of buffer 'mime'.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~squid/squid/trunk