httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: Server version bugs
Date Mon, 11 May 1998 16:49:47 GMT
Paul Sutton wrote:
> 
> On Sat, 9 May 1998, Ben Laurie wrote:
> > Jim Jagielski wrote:
> > > Paul Sutton wrote:
> > > > httpd -v, httpd -V and every start of Apache on NT prints a NULL string,
> > > > after this patch. It calls ap_get_server_version() before the modules
have
> > > > been init'ed, which means that server_version is NULL. You probably want
> > > > to make sure that the return value of this function is reasonable, such
as
> > > > SERVER_BASEVERSION if server_version is NULL. Here is a patch. (Also there
> > > > is no point displaying "Server Full version" as well as SERVER_BASEVERSION
> > > > is the -V output).
> > >
> > > +1... Forgot that at this stage, modules hadn't had time to
> > >  add their "version strings".
> >
> > Whoops - just fixed this a different way :-)
> 
> ... but _only_ for Win32 :-)

That's true, though a parallel patch will do it for other OSes. I'm not
fussed if you want to do it the other way (though it may mask other
problems later, so perhaps is better avoided).

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message