projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework partial packet handling once more
[openssl.git]
/
util
/
perl
/
TLSProxy
/
Record.pm
diff --git
a/util/perl/TLSProxy/Record.pm
b/util/perl/TLSProxy/Record.pm
index acace3651adff01a6f5bbc86938878f8bb90af30..49a0084d36a83774bca3eceb4168b59f5e347abe 100644
(file)
--- a/
util/perl/TLSProxy/Record.pm
+++ b/
util/perl/TLSProxy/Record.pm
@@
-279,7
+279,8
@@
sub reconstruct_record
my $server = shift;
my $data;
- if ($self->{sent}) {
+ #We only replay the records in the same direction
+ if ($self->{sent} || ($self->flight & 1) != $server) {
return "";
}
$self->{sent} = 1;