Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22598 invoked by uid 1010); 20 Nov 2003 15:21:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22543 invoked from network); 20 Nov 2003 15:21:34 -0000 Received: from unknown (HELO from.ro) (194.102.255.9) by pb1.pair.com with SMTP; 20 Nov 2003 15:21:34 -0000 Received: from dtp-cable1.kappa.ro (dtp-cable1.kappa.ro [194.102.251.61]) (AUTH: LOGIN pdoru, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by from.ro with esmtp; Thu, 20 Nov 2003 17:21:31 +0200 To: ilia@prohost.org Cc: internals@lists.php.net In-Reply-To: <200311200931.46227.ilia@prohost.org> References: <1069326795.3409.56.camel@dtp.kappa.ro> <200311200931.46227.ilia@prohost.org> Content-Type: text/plain Organization: Message-ID: <1069341687.4316.6.camel@dtp.kappa.ro> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 20 Nov 2003 17:21:27 +0200 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value From: pdoru@kappa.ro (Doru Petrescu) you missed the point. it is probably zero like it is now, the point was to put the right value there, not some garbage. and of course I DO NEED THAT VALUE at some point in time, and I see no use of having garbage or a wrong value there. also what stroke me is that all other sapi modules were properly initializing this value ... Doru Petrescu On Thu, 2003-11-20 at 16:31, Ilia Alshanetsky wrote: > Why not simply do SG(request_info).content_length = 0; ? > > Ilia