Package list libpoe-component-sslify-perl / df65ede
mire@irc is now MIRE, congrats Apocalypse 10 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11
22 {{$NEXT}}
33
4 Fix a heinous bug discovered by mire where openssl will randomly close a connection, thanks!
4 Fix a heinous bug where openssl will randomly+reliably close a connection ( thanks MIRE )
55 Tweak the hook tests so they test the case where no data is sent over the connection
66 Tweak the connfail tests so they work better
77
165165 return 0;
166166 } else {
167167 # We flushed some data, which means we finished the handshake!
168 # This is IMPORTANT, as mire__@irc found out!
168 # This is IMPORTANT, as MIRE found out!
169169 # Otherwise openssl will zonk out and give us SSL_ERROR_SSL and things randomly break :(
170 # this is because we tried to connect() or accept() and the handshake was done... or something like that hah
170171 if ( ! $self->{'ssl_started'} ) {
171172 $self->{'ssl_started'} = 1;
172173 $self->{'status'} = 1;