lp:~squid/squid/parser-ng
- Get this branch:
- bzr branch lp:~squid/squid/parser-ng
Branch merges
Recent revisions
- 13705. By Amos Jeffries
-
Review changes for HTTP ResponseParser upgrade
* redesign parser logic after Tokenizer API changes
* fix ICY protocol mime block detection
* add RFC 7230 section 3.5 whitespace tolerant parse
* add documentation to match request parser regarding RFC compliance
- 13703. By Amos Jeffries
-
Various Tokenizer fixes
Import prefix() method fix from parser-
ng-requestline work.
- The prefix() when match reached a provided limit would consume and
return the entire buffer contents instead of just the limited/matched
range of bytes.Extend int64() method:
- allow rejecting of numbers with a +/- symbol prefix.
- allow limiting of numeric conversion to a fixed character count - 13701. By Amos Jeffries
-
Improve payload accounting
* consume() bytes from inBuf when decoding chunks
* ensure the buffer has space sufficient to hold the maximum of header
or body read-ahead bytes we are waiting for.* actually grow the buffer when a reservation is made.
* add debugs to indicate reasons for not growing the buffer.
- 13700. By Amos Jeffries
-
Fix reason-phrase mangling
The legacy code reason-phrase requires const char*, which we no longer
have. We get an SBUf from the parser instead.
To avoid c_str() performance regressions or bloating the code with
StatusLine alterations we must take advantage of the default reason
phrases on output and RFC permission to ignore phrases delivered by the
server.
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