comparison src/http/modules/ngx_http_sub_filter_module.c @ 332:2eea67ed0bc2 NGINX_0_5_36

nginx 0.5.36 *) Bugfix: the "sub_filter" directive might set text to change into output. *) Bugfix: a segmentation fault occurred in worker process, if empty stub block was used second time in SSI. *) Bugfix: the "proxy_store" and "fastcgi_store" directives did not check a response length. *) Bugfix: nginx issued the bogus error message "SSL_shutdown() failed (SSL: )"; bug appeared in 0.5.35. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error; bug appeared in 0.5.35. *) Bugfix: the "fastcgi_catch_stderr" directive did return error code; now it returns 502 code, that can be rerouted to a next server using the "fastcgi_next_upstream invalid_header" directive. *) Bugfix: a segmentation fault occurred in master process if the "fastcgi_catch_stderr" directive was used; bug appeared in 0.5.32. Thanks to Manlio Perillo.
author Igor Sysoev <http://sysoev.ru>
date Sun, 04 May 2008 00:00:00 +0400
parents f70f2f565fe0
children 42974b9e97b5
comparison
equal deleted inserted replaced
331:27fb10cee3fd 332:2eea67ed0bc2
588 ctx->saved = 0; 588 ctx->saved = 0;
589 } 589 }
590 590
591 ctx->state = sub_start_state; 591 ctx->state = sub_start_state;
592 ctx->pos = p + 1; 592 ctx->pos = p + 1;
593 ctx->looked = looked; 593 ctx->looked = 0;
594 ctx->copy_end = copy_end; 594 ctx->copy_end = copy_end;
595 595
596 if (ctx->copy_start == NULL && copy_end) { 596 if (ctx->copy_start == NULL && copy_end) {
597 ctx->copy_start = ctx->buf->pos; 597 ctx->copy_start = ctx->buf->pos;
598 } 598 }