in reply to Re: SOAP::Lite Client Closes Keep-Alive Connection
in thread SOAP::Lite Client Closes Keep-Alive Connection

Apache.
KeepAlive 100 KeepAliveTimeout 15
The tcpdump shows a proper response with these values set in the Keep-Alive: header and the Connection: header says "Keep-Alive".

Replies are listed 'Best First'.
Re^3: SOAP::Lite Client Closes Keep-Alive Connection
by leonardohelman (Initiate) on Apr 25, 2008 at 19:42 UTC
    I found this (2 years after the post, but maybe it will help others) I'm using SOAP::Lite 0.71, and it works setting this variable: $SOAP::Constants::PATCH_HTTP_KEEPALIVE=0; Its almost documented in SOAP::Constants So the code should be something like: $SOAP::Constants::PATCH_HTTP_KEEPALIVE=0; my $soap= SOAP::Lite -> readable(1) # Opcion de debug para ver mas lindo el XML -> ns('Hello') -> proxy($PROXY, keep_alive => 1, timeout => 30 ); print $soap -> sayHello($name) -> result . "\n\n"; :
      Thank a lot!! this is very helpfull