[PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2004-02-05 Thread Doru Petrescu
I resend it. it seems that my mailer corrupted the attachement. -- Best regards, Doru Petrescu Senior Software Engineer Astral Telecom Bucuresti --- Begin Message --- Hi, While playi

Re: [PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2003-11-20 Thread 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 prope

Re: [PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2003-11-20 Thread Uwe Schindler
all other sapi modules do it in the same way... At 15:31 20.11.2003, Ilia Alshanetsky wrote: Why not simply do SG(request_info).content_length = 0; ? Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php - Uwe Schindler [EMAIL PROTEC

Re: [PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2003-11-20 Thread Ilia Alshanetsky
Why not simply do SG(request_info).content_length = 0; ? Ilia -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] sapi apache2 uninitialized content-length value

2003-11-20 Thread Doru Petrescu
Hi, While playing with the upload progress meter I noticed that apache2 sapi implementation does not initialize the content-length sapi variable. Apache 1.3 sapi does! and so does ALL OTHER interfaces. A quick grep into the sources will reveal that only apache2handler and apache2filter does