]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix: HttpRequest flags intercepted, spoof_client_ip never set correctly
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Thu, 24 Nov 2011 07:06:10 +0000 (00:06 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 24 Nov 2011 07:06:10 +0000 (00:06 -0700)
commit1f7ada04aaf8041dcbc7948d8fa374b288805dee
treec4220a4d415d896ade0bee608bc26daeeb036eba
parent3a039cbe7bc09c6a0b0db08e5086cb98451382d1
Fix: HttpRequest flags intercepted, spoof_client_ip never set correctly

The request_flags::intercepted,request_flags::spoof_client_ip are 1 bit integers
so when you are try to set to an integer bigger than 1 will overflow and the
results will not be what you are expecting.
src/client_side.cc