Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mention that deprecation only affects HTTPS

  • Loading branch information...
commit d9c3d8dde52d091b63bb67fc344dafb7fb4bfe17 1 parent edf9d4d
@kraih authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 Changes
  2. +1 −1  lib/Mojo/Server/Daemon.pm
View
4 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
View
2  lib/Mojo/Server/Daemon.pm
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.