Skip to content

Loading…

Added child communication forwarding to Net::Server::PreFork #95

Open
wants to merge 1 commit into from

1 participant

@justnoxx

Added child_communication forwarding from Starman to Net::Server::Prefork.
It is required for child_is_talking_hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Starman/Server.pm
View
3 lib/Starman/Server.pm
@@ -59,6 +59,9 @@ sub run {
if (! exists $options->{keepalive_timeout}) {
$options->{keepalive_timeout} = 1;
}
+ if ( $options->{child_communication} ) {
+ $extra{child_communication} = 1;
+ }
my @port;
for my $listen (@{$options->{listen} || [ "$options->{host}:$options->{port}" ]}) {
Something went wrong with that request. Please try again.