mire@irc is now MIRE, congrats
Apocalypse
13 years ago
1 | 1 |
|
2 | 2 |
{{$NEXT}}
|
3 | 3 |
|
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 )
|
5 | 5 |
Tweak the hook tests so they test the case where no data is sent over the connection
|
6 | 6 |
Tweak the connfail tests so they work better
|
7 | 7 |
|
165 | 165 |
return 0;
|
166 | 166 |
} else {
|
167 | 167 |
# 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!
|
169 | 169 |
# 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
|
170 | 171 |
if ( ! $self->{'ssl_started'} ) {
|
171 | 172 |
$self->{'ssl_started'} = 1;
|
172 | 173 |
$self->{'status'} = 1;
|