diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-03 13:05:19 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-03 13:05:19 +0300 |
commit | 6b2fce430b4cdb063b5b4e5382515d384c90272b (patch) | |
tree | b96e96db97ccb66acfc5aba3a4e1734df1c0b39d /src/core/ngx_resolver.h | |
parent | 26aae392f9fd35c840bf8e400b7f4defacf181ab (diff) |
allow to use IP addresses without defined resolver
Diffstat (limited to 'src/core/ngx_resolver.h')
-rw-r--r-- | src/core/ngx_resolver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_resolver.h b/src/core/ngx_resolver.h index e69f42087..b1b8ede2c 100644 --- a/src/core/ngx_resolver.h +++ b/src/core/ngx_resolver.h @@ -26,6 +26,9 @@ #define NGX_RESOLVE_TIMEDOUT NGX_ETIMEDOUT +#define NGX_NO_RESOLVER (void *) -1 + + typedef struct { ngx_connection_t *connection; struct sockaddr *sockaddr; |