Mercurial > hg > nginx
view auto/define @ 4295:05031fce7ce8
Now nginx uses TTL of a DNS response when calculating cache validity.
Previously it used a hardcoded value of 300 seconds. Also added the
"valid=" parameter to the "resolver" directive that can be used to
override the cache validity time.
Patch by Kirill A. Korinskiy with minor changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 16 Nov 2011 13:11:39 +0000 |
parents | 42d11f017717 |
children | d620f497c50f |
line wrap: on
line source
# Copyright (C) Igor Sysoev cat << END >> $NGX_AUTO_CONFIG_H #ifndef $have #define $have $value #endif END