Mercurial > hg > nginx-vendor-0-7
comparison src/http/ngx_http_script.c @ 256:2e9c57a5e50a NGINX_0_4_13
nginx 0.4.13
*) Feature: the "proxy_pass" directive may be used inside the
"limit_except" block.
*) Feature: the "limit_except" directive supports all WebDAV methods.
*) Bugfix: if the "add_before_body" directive was used without the
"add_after_body" directive, then an response did not transferred
complete.
*) Bugfix: a large request body did not receive if the epoll method and
the deferred accept() were used.
*) Bugfix: a charset could not be set for ngx_http_autoindex_module
responses; bug appeared in 0.3.50.
*) Bugfix: the "[alert] zero size buf" error when FastCGI server was
used;
*) Bugfix: the --group= configuration parameter was ignored.
Thanks to Thomas Moschny.
*) Bugfix: the 50th subrequest in SSI response did not work; bug
appeared in 0.3.50.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Nov 2006 00:00:00 +0300 |
parents | a528ae0fe909 |
children | 27d9d1f26b38 |
comparison
equal
deleted
inserted
replaced
255:a13bad126e69 | 256:2e9c57a5e50a |
---|---|
421 } | 421 } |
422 | 422 |
423 e->ip += sizeof(ngx_http_script_copy_code_t) | 423 e->ip += sizeof(ngx_http_script_copy_code_t) |
424 + ((code->len + sizeof(uintptr_t) - 1) & ~(sizeof(uintptr_t) - 1)); | 424 + ((code->len + sizeof(uintptr_t) - 1) & ~(sizeof(uintptr_t) - 1)); |
425 | 425 |
426 if (e->log) { | 426 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, |
427 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, | 427 "http script copy: \"%V\"", &e->buf); |
428 "http script copy: \"%V\"", &e->buf); | |
429 } | |
430 } | 428 } |
431 | 429 |
432 | 430 |
433 size_t | 431 size_t |
434 ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e) | 432 ngx_http_script_copy_var_len_code(ngx_http_script_engine_t *e) |
475 } | 473 } |
476 | 474 |
477 if (value && !value->not_found) { | 475 if (value && !value->not_found) { |
478 e->pos = ngx_copy(e->pos, value->data, value->len); | 476 e->pos = ngx_copy(e->pos, value->data, value->len); |
479 | 477 |
480 if (e->log) { | 478 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, |
481 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, | 479 e->request->connection->log, 0, |
482 e->request->connection->log, 0, | 480 "http script var: \"%V\"", &e->buf); |
483 "http script var: \"%V\"", &e->buf); | |
484 } | |
485 } | 481 } |
486 } | 482 } |
487 } | 483 } |
488 | 484 |
489 | 485 |