ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent/Handle.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent/Handle.pm (file contents):
Revision 1.251 by root, Tue Feb 26 02:08:34 2019 UTC vs.
Revision 1.253 by root, Fri Feb 7 15:06:01 2020 UTC

2056 } 2056 }
2057} 2057}
2058 2058
2059# poll the write BIO and send the data if applicable 2059# poll the write BIO and send the data if applicable
2060# also decode read data if possible 2060# also decode read data if possible
2061# this is basiclaly our TLS state machine 2061# this is basically our TLS state machine
2062# more efficient implementations are possible with openssl, 2062# more efficient implementations are possible with openssl,
2063# but not with the buggy and incomplete Net::SSLeay. 2063# but not with the buggy and incomplete Net::SSLeay.
2064sub _dotls { 2064sub _dotls {
2065 my ($self) = @_; 2065 my ($self) = @_;
2066 2066
2255 2255
2256 return unless $self->{tls}; 2256 return unless $self->{tls};
2257 2257
2258 $self->{tls_ctx}->_put_session (delete $self->{tls}) 2258 $self->{tls_ctx}->_put_session (delete $self->{tls})
2259 if $self->{tls} > 0; 2259 if $self->{tls} > 0;
2260 2260
2261 delete @$self{qw(_rbio _wbio _tls_wbuf _on_starttls)}; 2261 delete @$self{qw(_rbio _wbio _tls_wbuf _on_starttls)};
2262} 2262}
2263 2263
2264=item $handle->resettls 2264=item $handle->resettls
2265 2265

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines