Mercurial > hg > nginx
comparison src/core/ngx_resolver.h @ 1683:1e0b028055ec
allow to use IP addresses without defined resolver
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 03 Dec 2007 10:05:19 +0000 |
parents | 80901499140d |
children | 1ea922585517 |
comparison
equal
deleted
inserted
replaced
1682:85523506e427 | 1683:1e0b028055ec |
---|---|
22 #define NGX_RESOLVE_SERVFAIL 2 | 22 #define NGX_RESOLVE_SERVFAIL 2 |
23 #define NGX_RESOLVE_NXDOMAIN 3 | 23 #define NGX_RESOLVE_NXDOMAIN 3 |
24 #define NGX_RESOLVE_NOTIMP 4 | 24 #define NGX_RESOLVE_NOTIMP 4 |
25 #define NGX_RESOLVE_REFUSED 5 | 25 #define NGX_RESOLVE_REFUSED 5 |
26 #define NGX_RESOLVE_TIMEDOUT NGX_ETIMEDOUT | 26 #define NGX_RESOLVE_TIMEDOUT NGX_ETIMEDOUT |
27 | |
28 | |
29 #define NGX_NO_RESOLVER (void *) -1 | |
27 | 30 |
28 | 31 |
29 typedef struct { | 32 typedef struct { |
30 ngx_connection_t *connection; | 33 ngx_connection_t *connection; |
31 struct sockaddr *sockaddr; | 34 struct sockaddr *sockaddr; |