httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: The Security Phase
Date Fri, 16 Jul 2004 14:46:13 GMT
* "Craig Woodford" <cwoodf02@hotmail.com> wrote:

> These remarks are in reference to source code published at 
> http://httpd.apache.org/docs-2.0/developer/request.html.
> 
> switch (ap_satisfies(r)) {
> case SATISFY_ALL:
> case SATISFY_NOSPEC:
> ...
> 
> Seems to me the case for SATISFY_ALL does nothing useful.  Is there a 
> missing break statement?  If no, then why not comment out this case until
> it includes code that actually does somethingl?

This code means that for satisfy_all and satisfy_nospec the same code is
executed. Because there's no break statement, satisfy_all just falls
through.

> Feel free to tell me where to go, if you think that's appropriate.

I'd suggest a good C book ;-)

nd

Mime
View raw message