]> git.ipfire.org Git - thirdparty/openssl.git/commit
TLSProxy/Proxy.pm: refine partial packet handling.
authorAndy Polyakov <appro@openssl.org>
Fri, 6 Apr 2018 09:33:16 +0000 (11:33 +0200)
committerAndy Polyakov <appro@openssl.org>
Sun, 8 Apr 2018 09:42:41 +0000 (11:42 +0200)
commitc53c2fec82b6026331c98642ce4ad32ff7fe4fef
tree2c53dbac446112d1af7e7adf77b852fda76ff622
parentf69d050ee344e931aea4102f09bb0134a4f4c12a
TLSProxy/Proxy.pm: refine partial packet handling.

Original logic was "if no records found *or* last one is truncated, then
leave complete records in queue." Trouble is that if we don't pass on
complete records and get complete packet in opposite direction, then
queued records will go back to sender. In other words complete records
should always be passed on. [Possible alternative would be to match
direction in reconstruct_record.]

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5887)
util/perl/TLSProxy/Proxy.pm