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

Aborting keep-alive connections

Thread Next
Bill Moseley
April 14, 2003 15:17
Aborting keep-alive connections
Message ID:

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

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About