proxy-protocol
proxy-protocol copied to clipboard
Fix EOF panics
I found a couple rare EOF panics.
v1 = We only check up to the last CR but if LF is cut off we panic.
v2 = The TLV TODO was advancing the buffer beyond where it has been ensured (they were previously ensured only past the known lengths (which it compares the length against) but not the TLV lengths (which is length - known_length)