Skip to content

Commit

Permalink
fixed Mojo::IOLoop::Server to work correctly with newer versions of I…
Browse files Browse the repository at this point in the history
…O::Socket::SSL (closes #622)
  • Loading branch information
kraih committed May 14, 2014
1 parent b1423f2 commit 66c4a93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -5,6 +5,8 @@
with user expectations.
- Removed deprecated support for "X-Forwarded-HTTPS".
- Removed generate_port method from Mojo::IOLoop.
- Fixed Mojo::IOLoop::Server to work correctly with newer versions of
IO::Socket::SSL. (noxxi)
- Fixed warnings in Mojo::IOLoop::Delay.

4.99 2014-05-12
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/Server.pm
Expand Up @@ -127,7 +127,7 @@ sub _accept {
# Start TLS handshake
$self->emit_safe(accept => $handle) and next unless my $tls = $self->{tls};
$self->_handshake($self->{handles}{$handle} = $handle)
if $handle = IO::Socket::SSL->start_SSL($handle, %$tls);
if $handle = IO::Socket::SSL->start_SSL($handle, %$tls, SSL_server => 1);
}
}

Expand Down
2 changes: 2 additions & 0 deletions lib/Mojolicious.pm
Expand Up @@ -955,6 +955,8 @@ Skye Shaw
Stanis Trendelenburg
Steffen Ullrich
Stephane Este-Gracias
Tatsuhiko Miyagawa
Expand Down

0 comments on commit 66c4a93

Please sign in to comment.