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 Sat, 09 May 1998 15:57:32 GMT
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 :-)

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