ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 0.7.4 access_log fixe



Hello!

On Mon, Jun 30, 2008 at 08:03:25PM +0400, Igor Sysoev wrote:

éÓÐÒÁ×ÌÅÎÉÅ ÄÌÑ 0.7.4.

îÕ É ÅÝ£ ÄÏ ËÕÞÉ.

Maxim Dounin
# HG changeset patch
# User Maxim Dounin <mdounin@xxxxxxxxxx>
# Date 1214871498 -14400
# Node ID 764e4d1295d9bec759f73ea80c6bca12d9854f21
# Parent  3bb1f991efc04db9519b604e81a1332390f5015d
[mq]: patch-log-unset

diff --git a/src/http/modules/ngx_http_log_module.c 
b/src/http/modules/ngx_http_log_module.c
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -777,6 +777,8 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *
     if (log == NULL) {
         return NGX_CONF_ERROR;
     }
+
+    ngx_memzero(log, sizeof(ngx_http_log_t));
 
     log->file = ngx_conf_open_file(cf->cycle, &ngx_http_access_log);
     if (log->file == NULL) {


 




Copyright © Lexa Software, 1996-2009.