Do the right thing with FCGI args, the hostname and the keepalive options in the...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / Server.pm
index 5b8e3c1..7798c55 100644 (file)
@@ -180,6 +180,15 @@ sub run {
 
 }
 
+sub _plack_loader_args {
+    my ($self) = shift;
+    return (
+        port => $self->port,
+        host => $self->host,
+        keepalive => $self->keepalive ? 100 : 1,
+    );
+}
+
 sub _application_args {
     my ($self) = shift;
     return (