httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk.vanGulik" <Dirk.vanGu...@jrc.it>
Subject Re: This host crap
Date Mon, 29 Apr 1996 12:27:44 GMT
>
> Here's a patch. BTW, have we decided yet if my htdigest utility can be
> included in the next release of 1.1 beta?

I am not very happy with this patch, elect6.jrc.it. is quite
different (or can be quite different) from say elect6.jrc.it
and elect6, and I'd like to either logs/use the *FULL* QHN, i.e.
down to the last dot or the host names as they came in. It is
just that that trailing dot means a lot and is a vital escape
hatch if your searchpath or local DNS cache really fucks up.

Also, There are plenty of organizations which have got just one
sun, which is called 'sun', if you do a grep for 
sun.com.*.com. etc you find quite a few!

Dw.

> diff -c -r1.18 http_protocol.c
> *** http_protocol.c     1996/04/16 07:54:07     1.18
> --- http_protocol.c     1996/04/27 07:18:09
> ***************
> *** 353,358 ****
> --- 353,362 ----
>     if (*r->hostname && (atoi(r->hostname) != r->server->port))
>       return;
> 
> +   if ((host[strlen(host)-1]) == '.') {
> +     host[strlen(host)-1] = '\0';
> +   }
> +
>     r->hostname = host;
> 
>     for (s = r->server->next; s; s = s->next) {
> 
> -- 
> ________________________________________________________________________
> Alexei Kosut <akosut@nueva.pvt.k12.ca.us>    
> URL: http://www.nueva.pvt.k12.ca.us/~akosut/  
> Lefler on IRC, DALnet <http://www.dal.net/>   
> 
> 

Mime
View raw message