diff --git a/plugins/tls b/plugins/tls index 37fbc9a..f850d2c 100644 --- a/plugins/tls +++ b/plugins/tls @@ -275,6 +275,7 @@ sub upgrade_socket { my UpgradeClientSSL $self = shift; unless ( $self->{_ssl_started} ) { + $self->{_stashed_qp}->clear_data(); IO::Socket::SSL->start_SSL( $self->{_stashed_qp}->{sock}, { SSL_use_cert => 1,