apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: apr/network_io/unix sa_common.c
Date Wed, 12 Sep 2001 20:08:19 GMT
trawick@apache.org writes:

> trawick     01/09/12 12:46:13
> 
>   Modified:    .        CHANGES
>                network_io/unix sa_common.c
>   Log:
>   Don't search for IPv6 names in apr_sockaddr_info_get() if the
>   application doesn't specify the family (i.e., the application
>   passes in AF_UNSPEC) and APR isn't built with IPv6 support.

Using a --disable-ipv6 build of APR on a glibc 2.1 system, this cut
the cost of a typical DNS lookup from 4 packets sent to the DNS down
to 1 packet sent to the DNS.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message