[Next] [Up] [Previous]
Next: Caching Up: HTTP/1.1 - The Next Previous: HTTP/1.1 - The Next

Persistent Connections

A significant difference between HTTP/1.1 and earlier versions of HTTP is that persistent connections are the default behavior of any HTTP connection. That is, unless otherwise indicated, the client should assume that the server will maintain a persistent connection, even after error responses from the server. Persistent connections provide a mechanism by which a client and a server can signal the close of a TCP connection. This signaling takes place using the Connection1 header field. Once a close has been signaled, the client must not send any more requests on that connection. Prior to persistent connections, a separate TCP connection was established to fetch each URL, increasing the load on HTTP servers and causing congestion on the Internet. The use of inline images and other associated data often require a client to make multiple requests of the same server in a short amount of time. Persistent HTTP connections have a number of advantages:
[Next] [Up] [Previous]
Next: Caching Up: HTTP/1.1 - The Next Previous: HTTP/1.1 - The Next
Copyright © 2003, John Yannakopoulos <giannak@csd.uoc.gr>