lp:~yadi/squid/parser-ng-bug2043

Created by Amos Jeffries and last modified
Get this branch:
bzr branch lp:~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

Related bugs

Related blueprints

Branch information

Owner:
Amos Jeffries
Project:
Squid
Status:
Development

Recent revisions

13934. By Amos Jeffries

Merged from trunk

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.

13932. By Amos Jeffries

Merged from trunk rev.13957

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'.

13930. By Amos Jeffries

Fix profiler and make return calculations uniform

13929. By Amos Jeffries

Fix case documentation, and reduce unnecesary indentation

13928. By Amos Jeffries

Cleanup case B checks

13927. By Amos Jeffries

some polishing

13926. By Amos Jeffries

Optimize the length==0 case

13925. By Matthew V. <email address hidden>

Bug 2043: Minor optimization to headersEnd()

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~squid/squid/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers