comparison src/core/ngx_resolver.h @ 354:583decdb82a4 NGINX_0_6_21

nginx 0.6.21 *) Change: if variable values used in a "proxy_pass" directive contain IP-addresses only, then a "resolver" directive is not mandatory. resolver *) Bugfix: a segmentation fault might occur in worker process if a "proxy_pass" directive with URI-part was used; bug appeared in 0.6.19. *) Bugfix: if resolver was used on platform that does not support kqueue, then nginx issued an alert "name is out of response". Thanks to Andrei Nigmatulin. *) Bugfix: if the $server_protocol was used in FastCGI parameters and a request line length was near to the "client_header_buffer_size" directive value, then nginx issued an alert "fastcgi: the request record is too big". *) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS server, then nginx returned usual response.
author Igor Sysoev <http://sysoev.ru>
date Mon, 03 Dec 2007 00:00:00 +0300
parents 5a1bb0129dff
children babd3d9efb62
comparison
equal deleted inserted replaced
353:4a470d9e2ea5 354:583decdb82a4
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;