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

Are you using Apache and have you set the Keep-Alive directive?

Celebrate Intellectual Diversity

  • Comment on Re: SOAP::Lite Client Closes Keep-Alive Connection

Replies are listed 'Best First'.
Re^2: SOAP::Lite Client Closes Keep-Alive Connection
by garry (Novice) on Feb 07, 2006 at 21:16 UTC
    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".
      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