This attempt builds on Henriks re-work of the client-request to server-request cloning done since the last attempt was made at closing this bug.

Adds all RFC 2616 listed Hop-by-hop headers to the clone selection test as 'ignore' cases unless otherwise handled already.

The test for whether they exist in Connection: is moved to the default case as an inline. Which reduces the code a fair bit and prevents the side case where a specially handled header gets ignored because the client explicitly added it to Connection: when it did not have to.


This method sets up a background default of not passing the hop-y-op headers while allowing any code which explicitly sets or copies the headers across to operate as before without interference.
# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: [email protected]
# target_branch: file:///src/squid/bzr/trunk/
# testament_sha1: 8e017a5e58aab84043111ffbf80e8e0c587cf697
# timestamp: 2009-01-20 20:59:39 +1300
# base_revision_id: [email protected]\
#   c72yl5o47sx7e7fd
# 
# Begin patch
# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWYUFw0YAABHfgAAQQGFzUBIA
AACv794QIABkRR6nqaep6gZPUA9IxCjJqaBo09JpgjIMQ3m0vN/kfmJsLk0MHQ1W4qiRcX7dBKNJ
lorThQidj3YxTykvD4J5hd1FQti/6hzQ9gCghgPfGQ8nyFtaDiAA5JCZ68iW34u5IpwoSEKC4aMA

Reply via email to