leostereo has asked for the wisdom of the Perl Monks concerning the following question:
After build a basic soap server as described in documentation:
!/usr/bin/perl -w use Proc::Daemon; use Proc::PID::File; use SOAP::Transport::HTTP; { my $port = 8888; my $daemon = SOAP::Transport::HTTP::Daemon ->new(LocalPort => 8888, Reuse => 1) ->dispatch_to('MY_API::Bridge'); print $daemon->url, "\n"; $daemon->handle; }
Server works good, my Bridge module just return some values. I have noticed that every time I perform a soap query for instance using curl, there is a new server instance created. Is it normal? After one hour I need to killall the instances and restart the server. Is there some way to avoid the server creat and mantain living processes for each query ? Regards. Leandro.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: soap server with SOAP::Transport::HTTP module
by Corion (Patriarch) on Oct 07, 2015 at 18:38 UTC | |
by leostereo (Beadle) on Oct 08, 2015 at 18:53 UTC | |
Re: soap server with SOAP::Transport::HTTP module
by Anonymous Monk on Oct 07, 2015 at 22:18 UTC | |
by leostereo (Beadle) on Oct 08, 2015 at 19:09 UTC | |
by Anonymous Monk on Oct 08, 2015 at 21:49 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |