]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug #2001: Fails to forward responses where headers >4KB
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 7 Apr 2008 07:26:08 +0000 (09:26 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Mon, 7 Apr 2008 07:26:08 +0000 (09:26 +0200)
commit48bb425da6b195dbf73b23dffc017e4e5650091c
tree64f69eeea3e30ac020bef53cb100d9296a94180a
parent17232ccfe263b4f9aa3a4c78e215abf4f2b699be
parent486de706f41e0b943c0b9887e8996164d421e915
Bug #2001: Fails to forward responses where headers >4KB

This changes reply processing to clone the already parsed reply header
instead of trying to parse it yet another time. This allows us to seek
over the header contents and that way get away with just having a 4KB
buffer..

In the long run the store client API will be changed to provide a clean
split between headers and body, providing headers in parsed form (including
intermediary 1xx messages) and then the body starting at offset 0. This
change is a first step along that path but without changing the store client
api as such, with the intention of being merged into 3.0.