Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
list available parameters for listen URLs
  • Loading branch information
kraih committed Mar 1, 2012
1 parent d9c3d8d commit 281dfc4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.57 2012-03-02 00:00:00
- Improved documentation.

2.56 2012-03-01 00:00:00
- Deprecated custom HTTPS listen values in favor of URLs for all
built-in web servers.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/Server.pm
Expand Up @@ -346,11 +346,11 @@ Path to TLS certificate authority file.
=item C<tls_cert>
Path to the TLS cert file, defaulting to a built-in test certificate.
Path to the TLS cert file, defaults to a built-in test certificate.
=item C<tls_key>
Path to the TLS key file, defaulting to a built-in test key.
Path to the TLS key file, defaults to a built-in test key.
=back
Expand Down
18 changes: 18 additions & 0 deletions lib/Mojo/Server/Daemon.pm
Expand Up @@ -429,6 +429,24 @@ List of one or more locations to listen on, defaults to C<http://*:3000>.
$daemon->listen(
['https://*:3000?cert=/x/server.crt&key=/y/server.key&ca=/z/ca.crt']);
These parameters are currently available:
=over 4
=item C<ca>
Path to TLS certificate authority file.
=item C<cert>
Path to the TLS cert file, defaults to a built-in test certificate.
=item C<key>
Path to the TLS key file, defaults to a built-in test key.
=back
=head2 C<max_clients>
my $max_clients = $daemon->max_clients;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -32,7 +32,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.56';
our $VERSION = '2.57';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down

0 comments on commit 281dfc4

Please sign in to comment.