Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 1549:099d8470e6c3
pass length clearly
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Oct 2007 12:57:47 +0000 |
parents | 8596627c4cc5 |
children | 6d6c5ddedfc0 |
comparison
equal
deleted
inserted
replaced
1548:a83aa8c53552 | 1549:099d8470e6c3 |
---|---|
2634 | 2634 |
2635 *ho = *h; | 2635 *ho = *h; |
2636 | 2636 |
2637 if (r->upstream->rewrite_redirect) { | 2637 if (r->upstream->rewrite_redirect) { |
2638 | 2638 |
2639 p = ngx_strcasestrn(ho->value.data, "url=", 3); | 2639 p = ngx_strcasestrn(ho->value.data, "url=", 4 - 1); |
2640 | 2640 |
2641 if (p) { | 2641 if (p) { |
2642 rc = r->upstream->rewrite_redirect(r, ho, p + 4 - ho->value.data); | 2642 rc = r->upstream->rewrite_redirect(r, ho, p + 4 - ho->value.data); |
2643 | 2643 |
2644 } else { | 2644 } else { |