httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.net>
Subject Re: weird stuff in http_main.c
Date Mon, 16 Dec 1996 18:42:46 GMT
> Since I wrote them, I suppose I'd better explain them...
> 
>      assert(old_listeners == NULL);
> 
> this ensures that there's nothing left over from the previous restart. Note
> that close_unused_listeners() sets it to NULL.
> 
>        assert(!nr->used);
> 
> nr->used is used to decide whether to keep the old listener or discard it. At
> this point we don't know, so nr->used should be clear. We could just clear it
> here, but, as I remember it, other things should have ensured it was already
> clear. I seem to remember it was tucked away a little, though.
> 
> Neither of these are wrong, AFAICS. Certainly deleting them is a mistake.

	Is this graceful-restart related stuff? That second assertion
is failing for me on BSDI 1.1 and HP/UX 9. (I don't have either of
these boxes in-house so testing and gdb'ing is really tough.)

-- 
Sameer Parekh					Voice:   510-986-8770
President					FAX:     510-986-8777
C2Net
http://www.c2.net/				sameer@c2.net

Mime
View raw message