You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Simon Dassow <ja...@area319.de> on 2002/11/18 12:39:55 UTC

[users@httpd] Apache2 && SSL && keep-alive && chunked == broken? / Submit Bug?

Hi All,
Regarding to the preceding discussion if php or apache is generating the
error, we found out that it's apache.
As Rasmus said, the problem occurs only if the response is keep-alive
and chunked.
Now my question if it's a known issue (found nothing on buglist) or
maybe i've done something wrong (three friends are reporting same
problems with slightly different setups).

Best regards,
Simon

On Fri, 2002-11-15 at 09:19, Rasmus Lerdorf wrote:
> In the end this has to be an Apache problem. Perhaps PHP is sending
> something unexpected, but no matter what, since you are running PHP as a
> CGI there is no way that PHP should in any way be able to mess up the
> response headers in the way you are seeing. From what I can see testing
> https://mail.linux-de.org/test/test.php it only happens on a keep-alive
> chunked response. Non-keep-alive, non-chunked responses always work.
> Sometimes on a keep-alive, chunked response the start and end chunk
> headers are around the entire response, including the HTTP headers. This
> is bogus and clear indication of a web server bug.
> 
> -Rasmus
> 
> On 15 Nov 2002, Simon Dassow wrote:
> 
> > So now i've setup a 'test-suite'...
> > HTTP-Version: http://xmail.linux-de.org/test/
> > HTTPS-Version: https://mail.linux-de.org/test/
> >
> > There are php.html, perl.html and ruby.html... all cgi-scripts printing
> > the ENV-Vars in a frameset.
> > PHP will fail nearly every time in one frame at minimum, the others
> > (perl and ruby) work nearly every time correct (it's absolutely
> > acceptable).
> >
> > So now tell me, is it an PHP-Problem or Apache2? (I myself think again
> > it's php).
> >
> > regards,
> > simon
> >
> > On Wed, 2002-11-13 at 19:15, Joshua Slive wrote:
> > >
> > > On Wed, 13 Nov 2002, Simon Dassow wrote:
> > >
> > > > This one: https://mail.linux-de.org/
> > > > If you refresh a few times, you will see it :(
> > >
> > > Interesting.  Very likely it is SSL related.  Can you generate the same
> > > thing on a non-ssl server?
> > >
> > > That's a hard one to debug, because it involves an interaction between
> > > SSL, php, and Apache, and I really couldn't tell you where exactly the bug
> > > is.  You can report it to the apache bug database, but without a simpler
> > > test case (ie, one that doesn't involve php), it will be hard to debug.
> > >
> > > Joshua.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> >
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>