comparison src/core/ngx_inet.c @ 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 e10168d6e371
children 54fad6c4b555
comparison
equal deleted inserted replaced
353:4a470d9e2ea5 354:583decdb82a4
415 if (port == NGX_ERROR || port < 1 || port > 65536) { 415 if (port == NGX_ERROR || port < 1 || port > 65536) {
416 u->err = "invalid port"; 416 u->err = "invalid port";
417 return NGX_ERROR; 417 return NGX_ERROR;
418 } 418 }
419 419
420 u->port_text.len = port_len;
421 u->port_text.data = port_start;
422
420 } else { 423 } else {
421 port = ngx_atoi(p, len); 424 port = ngx_atoi(p, len);
422 425
423 if (port == NGX_ERROR) { 426 if (port == NGX_ERROR) {
424 u->host.len = len; 427 u->host.len = len;