W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 1997

Re: RE-VERSION

From: Ari Luotonen <luotonen@netscape.com>
Date: Thu, 4 Sep 1997 11:39:15 -0700 (PDT)
Message-Id: <199709041839.LAA11478@step.mcom.com>
To: "Roy T. Fielding" <fielding@kiwi.ics.uci.edu>
Cc: josh@netscape.com, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/4319

> >issue: keep-alives in server
> > By default, persistent connections are supposed to be used in 1.1.
> > When a server receives a downgraded request from a proxy, which
> > came from a 1.1 client, should it respond with a connection: close?
> 
> The downgraded request is HTTP/1.0 and will not include the keep-alive
> connection directive, so the server will not establish a persistent
> connection.  Apache 1.2 always sends "Connection: close" on non-persistent
> responses, even to normal HTTP/1.0 requests, but I don't think this
> should be a requirement (just a good idea).

But in HTTP/1.1, persistent connections are the default.  In other
words, if there's no Connection: header, it assumes keep-alive.  But
now the client will mistakenly think that the response is HTTP/1.1,
and assumes the lack of the Connection: header to mean that keep-alive
is on.

Cheers,
--
Ari Luotonen, Mail-Stop MV-061		Opinions my own, not Netscape's.
Netscape Communications Corp.		ari@netscape.com
501 East Middlefield Road		http://people.netscape.com/ari/
Mountain View, CA 94043, USA		Netscape Proxy Server Development
Received on Thursday, 4 September 1997 11:43:28 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:03 UTC