I have a perl soap server daemon that runs continuously but since I added SSL functionality the server will run for a while and then shuts down on its own. I have tried starting the server with the stdout and stderr redirected to a file but I get no output or errors.
The following is the code for the server:
# Make sure you have a certs/ directory with "server-cert.pem"
# and "server-key.pem" in it before running this!
my $daemon = new HTTP::Daemon::SSL
SSL_key_file => '(takenout)server-key.pem',
SSL_cert_file => '(takenout)server-cert.pem',
LocalPort => 8080;
my $soap = SOAP::Transport::HTTP::Server
-> new ( )
print "Please contact me at: <URL:", $daemon->url, ">\n";
while (my $conn = $daemon->accept())
while (my $request = $conn->get_request())
my $response = $soap->response();
Any help with this is greatly appreciated.