Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Using Persistent Connections with SOAP::Lite HTTP clients

by tomhukins (Curate)
on Sep 21, 2010 at 19:13 UTC ( #861141=note: print w/replies, xml ) Need Help??

in reply to Re: Using Persistent Connections with SOAP::Lite HTTP clients
in thread Using Persistent Connections with SOAP::Lite HTTP clients

I agree with everything you write, but I suspect you have misunderstood what my code does: it sets a request header in order to allow the server to leave the connection open after sending its response.

The snippet I posted sets Connection: KeepAlive on the request, letting the server know that the client can deal with KeepAlive responses.

Although HTTP 1.1 introduced this feature, clients and servers commonly support it as an extension when speaking HTTP 1.0: if the header does not exist, servers will close the TCP connection after each request as per standard HTTP 1.0.

Replies are listed 'Best First'.
Re^3: Using Persistent Connections with SOAP::Lite HTTP clients
by ddn123456 (Pilgrim) on Dec 16, 2010 at 12:52 UTC

    Thanks for the clarification.

    Reading it now afterwards I didn't express myself clearly enough perhaps but I did understand your code snippet perfectly.

    It does remain a nice snippet :-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://861141]
[Discipulus]: .. yes erix until NodeReaper put jhon coltrane again
[erix]: nice cover with the spitting image of George (and a great solo by Prince at the end )
[Discipulus]: good night monks! i feel fresh as the turkey in the hoven but i need to sleep
[planetscape]: gobble, gobble, Discipulus!
[erix]: Discipulus: buonanotte! :)
[stonecolddevin]: man we need a new guitar legend
[stonecolddevin]: Clapton has issues playing nowadays
[stonecolddevin]: Prince is gone
[stonecolddevin]: Van Halen is still around but I haven't heard any of their new stuff
[erix]: oh, 41M views -- everyone has seen it already then :)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-06-22 21:18 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (531 votes). Check out past polls.