Анонс модуля

Kirill A. Korinskiy catap at catap.ru
Sun Oct 19 00:09:53 MSD 2008


At Sat, 18 Oct 2008 21:19:44 +0600,
Rauan Maemirov wrote:
> 
> Обратите также внимание на первый респонс. Нет закрывающей ">".
> 
Спасибо. Действительно опечатка, ибо изначально не было переменных, а
когда делал не обратил внимание. Патч на сайте обновил. И специально
для вас patch

===File /tmp/patch==========================================
diff --git a/src/http/modules/ngx_http_response_module.c b/src/http/modules/ngx_http_response_module.c
index 181d6eb..94194c0 100644
--- a/src/http/modules/ngx_http_response_module.c
+++ b/src/http/modules/ngx_http_response_module.c
@@ -162,7 +162,7 @@ ngx_http_response_handler(ngx_http_request_t *r)
     b->last_buf = 1;
 
     r->headers_out.status = NGX_HTTP_OK;
-    r->headers_out.content_length_n = conf->response.len;
+    r->headers_out.content_length_n = response.len;
 
     rc = ngx_http_send_header(r);
 
============================================================





More information about the nginx-ru mailing list