Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention that deprecation only affects HTTPS
  • Loading branch information
kraih committed Mar 1, 2012
1 parent edf9d4d commit d9c3d8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Changes
@@ -1,8 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.56 2012-03-01 00:00:00
- Deprecated custom listen values in Mojo::Server::Daemon->listen in
favor of URLs, this change also affects Morbo and Hypnotoad.
- Deprecated custom HTTPS listen values in favor of URLs for all
built-in web servers.
https://*:3000:/x/server.crt:/y/server.key:/z/ca.crt
becomes
https://*:3000?cert=/x/server.crt&key=/y/server.key&ca=/z/ca.crt
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Daemon.pm
Expand Up @@ -198,7 +198,7 @@ sub _listen {
# DEPRECATED in Leaf Fluttering In Wind!
my ($address, $port, $cert, $key, $ca);
if ($listen =~ qr|//(.+)\:(\d+)\:(.*?)\:(.*?)(?:\:(.+)?)?$|) {
warn "Custom listen values are DEPRECATED in favor of URLs!\n";
warn "Custom HTTPS listen values are DEPRECATED in favor of URLs!\n";
($address, $port, $cert, $key, $ca) = ($1, $2, $3, $4, $5);
}

Expand Down

0 comments on commit d9c3d8d

Please sign in to comment.