Mercurial > hg > nginx-quic
comparison src/http/ngx_http_script.c @ 679:df95dcff753a release-0.3.61
nginx-0.3.61-RELEASE import
*) Change: now the "tcp_nodelay" directive is turned on by default.
*) Feature: the "msie_refresh" directive.
*) Feature: the "recursive_error_pages" directive.
*) Bugfix: the "rewrite" directive returned incorrect redirect, if the
redirect had the captured escaped symbols from original URI.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 28 Aug 2006 16:57:48 +0000 |
parents | b80f94fa2197 |
children | 1be87cdd010f |
comparison
equal
deleted
inserted
replaced
678:d99f27299a2b | 679:df95dcff753a |
---|---|
685 | 685 |
686 } else { | 686 } else { |
687 ngx_memzero(&le, sizeof(ngx_http_script_engine_t)); | 687 ngx_memzero(&le, sizeof(ngx_http_script_engine_t)); |
688 | 688 |
689 le.ip = code->lengths->elts; | 689 le.ip = code->lengths->elts; |
690 le.line = e->line; | |
690 le.request = r; | 691 le.request = r; |
691 le.captures = e->captures; | 692 le.captures = e->captures; |
692 le.ncaptures = e->ncaptures; | 693 le.ncaptures = e->ncaptures; |
694 le.quote = code->redirect; | |
693 | 695 |
694 len = 1; /* reserve 1 byte for possible "?" */ | 696 len = 1; /* reserve 1 byte for possible "?" */ |
695 | 697 |
696 while (*(uintptr_t *) le.ip) { | 698 while (*(uintptr_t *) le.ip) { |
697 lcode = *(ngx_http_script_len_code_pt *) le.ip; | 699 lcode = *(ngx_http_script_len_code_pt *) le.ip; |