On Sunday, Mar 9, 2003, at 23:00 US/Pacific, uma ramdoss wrote:


hai,
    i am writing a simple browser using LWP::UserAgent
i dont know how to make persistent connection. i think
LWP sends connection-close header by default. i used
keepalive header but no use. can anyone help with
code?

There is the other side of the problem.


Even IF you set the connection header
with the 'keep alive' option, if the
web server does not honor it, then the
socket will be closed.

So while it is a worth while idea to try,
in practice one should check whether the
web-server has closed the connection and
go from there....


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to