Mercurial > hg > nginx
comparison src/core/ngx_inet.c @ 515:417a087c9c4d release-0.1.32
nginx-0.1.32-RELEASE import
*) Bugfix: the arguments were omitted in the redirects, issued by the
"rewrite" directive; the bug had appeared in 0.1.29.
*) Feature: the "if" directive supports the captures in regular
expressions.
*) Feature: the "set" directive supports the variables and the captures
of regular expressions.
*) Feature: the "X-Accel-Redirect" response header line is supported in
proxy and FastCGI mode.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 19 May 2005 13:25:22 +0000 |
parents | 9b8c906f6e63 |
children | dadfa78d2270 |
comparison
equal
deleted
inserted
replaced
514:88d593732655 | 515:417a087c9c4d |
---|---|
417 } | 417 } |
418 | 418 |
419 u->host.data = url->data; | 419 u->host.data = url->data; |
420 u->host_header = *url; | 420 u->host_header = *url; |
421 | 421 |
422 for (/* void */; i < url->len; i++) { | 422 for ( /* void */ ; i < url->len; i++) { |
423 | 423 |
424 if (url->data[i] == ':') { | 424 if (url->data[i] == ':') { |
425 u->port_text.data = &url->data[i] + 1; | 425 u->port_text.data = &url->data[i] + 1; |
426 u->host.len = i; | 426 u->host.len = i; |
427 | 427 |