develooper Front page | perl.libwww | Postings from April 2003

Aborting keep-alive connections

Thread Next
From:
Bill Moseley
Date:
April 14, 2003 15:17
Subject:
Aborting keep-alive connections
Message ID:
Pine.LNX.4.10.10304141503090.25436-100000@mardy.hank.org

I'm assuming that if I die() in a UserAgent callback function the
connection will be closed, even if it is a keep-alive connection.

Is that a correct assumption?

If so, should something like a Connection: close header be added in
addition to the Client-Aborted and X-Died headers to indicate that the
connection will be closed?

I guess I'm looking for some consistent way to see if the connection is
still open.


-- 
Bill Moseley moseley@hank.org


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About