[Jifty-commit] r2874 - in jifty/trunk/lib/Jifty: Server
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Mar 1 04:57:31 EST 2007
Author: audreyt
Date: Thu Mar 1 04:57:30 2007
New Revision: 2874
Added:
jifty/trunk/lib/Jifty/Server/
jifty/trunk/lib/Jifty/Server/Fork.pm
Modified:
jifty/trunk/lib/Jifty/Server.pm
Log:
* Jifty::Server::Fork - New module to conveniently express
a forking builtin server.
Modified: jifty/trunk/lib/Jifty/Server.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Server.pm (original)
+++ jifty/trunk/lib/Jifty/Server.pm Thu Mar 1 04:57:30 2007
@@ -3,10 +3,6 @@
package Jifty::Server;
-=head1 NAME
-
-Jifty::Server - Standalone web server for Jifty applications
-
=head1 SYNOPSIS
use Jifty::Server;
Added: jifty/trunk/lib/Jifty/Server/Fork.pm
==============================================================================
--- (empty file)
+++ jifty/trunk/lib/Jifty/Server/Fork.pm Thu Mar 1 04:57:30 2007
@@ -0,0 +1,28 @@
+package Jifty::Server::Fork;
+use Net::Server::Fork ();
+use base 'Jifty::Server';
+
+=head1 NAME
+
+Jifty::Server::Fork - Jifty::Server that supports multiple connections
+
+=head1 SYNOPSIS
+
+In your F<etc/config.yml>:
+
+ framework:
+ Web:
+ ServerClass: Jifty::Server::Fork
+
+=head1 METHODS
+
+=head2 net_server
+
+This module depends on the L<Net::Server::Fork> module, which is part of
+the L<Net::Server> CPAN distribution.
+
+=cut
+
+sub net_server { 'Net::Server::Fork' }
+
+1;
More information about the Jifty-commit
mailing list