Received: by taz.hyperreal.com (8.6.12/8.6.5) id NAA17231; Mon, 22 Apr 1996 13:07:36 -0700 Received: from ooo.lanl.gov by taz.hyperreal.com (8.6.12/8.6.5) with ESMTP id NAA17226; Mon, 22 Apr 1996 13:07:32 -0700 Received: by ooo.lanl.gov (1.37.109.16/16.2) id AA229573623; Mon, 22 Apr 1996 14:07:03 -0600 From: Rob Hartill Message-Id: <199604222007.AA229573623@ooo.lanl.gov> Subject: Re: OS/2 Bug Help? To: new-httpd@hyperreal.com Date: Mon, 22 Apr 96 14:07:03 MDT In-Reply-To: <9604221956.AA9191@main.slink.com>; from "Garey Smiley" at Apr 22, 96 3:56 pm X-Organization: Theoretical Division, T-8. Los Alamos National Laboratory X-Snail: LANL Theoretical Divi' T-8, MS B285, P.O Box 1663, Los Alamos NM 87545 X-Marks-The-Spot: Doh ! X-Url: http://nqcd.lanl.gov/~hartill/ X-Cessive-Use-Of-Headers: check Mailer: Elm [revision: 70.85] Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com > On Mon, 22 Apr 96 13:26:35 MDT, Rob Hartill wrote: > > >> I tried "KeepAlive 0" but that didn't help. How and where does Apache > >> 1.1 tell the browser that its done sending info for a CGI script? > > > >Typically it closes the connection... you can't argue with that. > >This is why keepalive needs content-length so that when the connection > >stays open, the client knows (by byte count) that all the content has > >been read. > > But where exactly in the code is the connection closed and how is that > different than when sending a standard HTML file? You'll have to look to see how Apache is waiting for the CGI script. That (I believe) is the signal that there's no more script output and Apache takes it from there.