11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

It is especially important that proxies correctly implement theproperties of the Connection header field as specified in section14.10.The proxy server MUST signal persistent connections separately withits clients and the origin servers (or other proxy servers) that itconnects to. Each persistent connection applies to only one transportlink.A proxy server MUST NOT establish a HTTP/1.1 persistent connectionwith an HTTP/1.0 client (but see RFC 2068 [33] <strong>for</strong> in<strong>for</strong>mation anddiscussion of the problems with the Keep-Alive header implemented bymany HTTP/1.0 clients).8.1.4 Practical ConsiderationsServers will usually have some time-out value beyond which they willno longer maintain an inactive connection. Proxy servers might makethis a higher value since it is likely that the client will be makingmore connections through the same server. The use of persistentconnections places no requirements on the length (or existence) ofthis time-out <strong>for</strong> either the client or the server.<strong>Fielding</strong>, et al. Standards Track [Page 46]RFC <strong>2616</strong> HTTP/1.1 June 1999When a client or server wishes to time-out it SHOULD issue a gracefulclose on the transport connection. Clients and servers SHOULD bothconstantly watch <strong>for</strong> the other side of the transport close, andrespond to it as appropriate. If a client or server does not detectthe other side's close promptly it could cause unnecessary resourcedrain on the network.A client, server, or proxy MAY close the transport connection at anytime. For example, a client might have started to send a new requestat the same time that the server has decided to close the "idle"connection. From the server's point of view, the connection is beingclosed while it was idle, but from the client's point of view, arequest is in progress.This means that clients, servers, and proxies MUST be able to recoverfrom asynchronous close events. Client software SHOULD reopen thetransport connection and retransmit the aborted sequence of requestswithout user interaction so long as the request sequence is

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!