Hypnotoad does not work with HTTPS #282

Closed
viliampucik opened this Issue Feb 9, 2012 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

viliampucik commented Feb 9, 2012

Hypnotoad does not work correctly when listening on HTTPS, example:

# test.pl
use Mojolicious::Lite;
app->config(hypnotoad => {listen => ['https://*:3000']});
get '/' => {text => 'ALL GLORY TO THE HYPNOTOAD!'};
app->start;
$ hypnotoad test.pl
Server available at https://127.0.0.1:3000.
$ curl --insecure https://127.0.0.1:3000/
curl: (35) Unknown SSL protocol error in connection to 127.0.0.1:3000 

My Mojo:

$ mojo version
CORE
  Perl        (v5.14.2, linux)
  Mojolicious (2.47, Leaf Fluttering In Wind)

OPTIONAL
  EV                       (4.03)
  IO::Socket::IP           (not installed)
  IO::Socket::SSL          (1.44)
  Net::Rendezvous::Publish (not installed)
Collaborator

tempire commented Feb 9, 2012

Indeed, I've confirmed that it works only when hypnotoad is run in the foreground.

Owner

kraih commented Feb 9, 2012

Thanks, fixed. 13bd6c2

kraih closed this Feb 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment