[5547] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: holding connections open: a modest proposal

daemon@ATHENA.MIT.EDU (John Ludeman)
Mon Sep 12 23:57:59 1994

Date: Tue, 13 Sep 1994 05:39:55 +0200
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: johnl@microsoft.com
From: John Ludeman <johnl@microsoft.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>


----------
| 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

 

home help back first fref pref prev next nref lref last post