]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: netscaler: do not analyze original IP packet size
authorBertrand Jacquin <jacquinb@amazon.com>
Wed, 13 Dec 2017 01:29:56 +0000 (01:29 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Dec 2017 06:04:07 +0000 (07:04 +0100)
commita341a2f479745adb486b153af61958f35f5612b0
treeea6c85914b8eabe76f8556ed5ddaa16b22737fae
parent67de5a295c9f4693f0c65d69fed67a3618bee6dd
MEDIUM: netscaler: do not analyze original IP packet size

Original informations about the client are stored in the CIP encapsulated
IP header, hence there is no need to consider original IP packet length
to determine if data are missing. Instead this change detect missing
data if the remaining buffer is large enough to contain a minimal IP and
TCP header and if the buffer has as much data as CIP is telling.
src/connection.c