Re: holding connections open: a modest proposal

John Ludeman (johnl@microsoft.com)
Tue, 13 Sep 1994 05:36:10 +0200

----------
| From: Larry Masinter <masinter@parc.xerox.com>
| To: Multiple recipients of list <www-talk@www0.cern.ch>
| Subject: Re: holding connections open: a modest proposal
| Date: Tuesday, September 13, 1994 1:31AM
|
| Aren't there possible race conditions, where the server decides to
| shut down the connection just as the client sends the second GET?

Yes. The one tricky part for the client using "Pragma:
Keep-connection" is that the server may close the connection right
after the client has made its next request but before the server has
received the request.

The solution here is the client sees the connection was closed and if
the pragma was being used, they should simply do the request again
(open the connection and make the request like they would have w/o the
pragma), otherwise error out to the user like normal.

John