Changeset 581455


Ignore:
Timestamp:
07/19/08 10:32:05 (4 years ago)
Author:
Tomash Brechko <tomash.brechko@…>
Branches:
master-v0.7, nginx-v0.7, nginx-v0.8, upstream_count_limit
Children:
46d3eb
Parents:
aeeac8
git-author:
Tomash Brechko <tomash.brechko@…> (07/19/08 10:32:05)
git-committer:
Tomash Brechko <tomash.brechko@…> (07/19/08 10:32:05)
Message:

Commit of nginx 0.7.5

Location:
server
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • server/CHANGES

    raeeac8 r581455  
     1 
     2Changes with nginx 0.7.5                                         01 Jul 2008 
     3 
     4    *) Bugfixes in variables support in the "access_log" directive; the bug  
     5       had appeared in 0.7.4. 
     6 
     7    *) Bugfix: nginx could not be built --without-http_gzip_module; the bug  
     8       had appeared in 0.7.3. 
     9       Thanks to Kirill A. Korinskiy. 
     10 
     11    *) Bugfix: if sub_filter and SSI were used together, then responses  
     12       might were transferred incorrectly. 
     13 
    114 
    215Changes with nginx 0.7.4                                         30 Jun 2008 
  • server/CHANGES.ru

    raeeac8 r581455  
     1 
     2éÚÍÅÎÅÎÉÑ × nginx 0.7.5                                           01.07.2008 
     3 
     4    *) éÓÐÒÁ×ÌÅÎÉÑ × ÐÏÄÄÅÒÖËÅ ÐÅÒÅÍÅÎÎÙÈ × ÄÉÒÅËÔÉ×Å access_log; ÏÛÉÂËÁ  
     5       ÐÏÑ×ÉÌÁÓØ × 0.7.4. 
     6 
     7    *) éÓÐÒÁ×ÌÅÎÉÅ: nginx ÎÅ ÓÏÂÉÒÁÌÓÑ Ó ÐÁÒÁÍÅÔÒÏÍ  
     8       --without-http_gzip_module; ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.7.3. 
     9       óÐÁÓÉÂÏ ëÉÒÉÌÌÕ ëÏÒÉÎÓËÏÍÕ. 
     10 
     11    *) éÓÐÒÁ×ÌÅÎÉÅ: ÐÒÉ ÓÏ×ÍÅÓÔÎÏÍ ÉÓÐÏÌØÚÏ×ÁÎÉÉ sub_filter É SSI ÏÔ×ÅÔÙ  
     12       ÍÏÇÌÉ ÐÅÒÅÄÁ×ÁÔØÓÑ ÎÅ×ÅÒÎÏ. 
     13 
    114 
    215éÚÍÅÎÅÎÉÑ × nginx 0.7.4                                           30.06.2008 
  • server/src/core/nginx.h

    raeeac8 r581455  
    99 
    1010 
    11 #define NGINX_VERSION      "0.7.4" 
     11#define NGINX_VERSION      "0.7.5" 
    1212#define NGINX_VER          "nginx/" NGINX_VERSION 
    1313 
  • server/src/http/modules/ngx_http_log_module.c

    raeeac8 r581455  
    423423        ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 
    424424                      ngx_open_file_n " \"%s\" failed", log.data); 
    425         return -1; 
     425        /* simulate successfull logging */ 
     426        return len; 
    426427    } 
    427428 
     
    761762    } 
    762763 
    763     *conf = *prev; 
     764    conf->logs = prev->logs; 
     765    conf->off = prev->off; 
    764766 
    765767    if (conf->logs || conf->off) { 
     
    782784    } 
    783785 
     786    log->script = NULL; 
    784787    log->disk_full_time = 0; 
    785788    log->error_log_time = 0; 
  • server/src/http/modules/ngx_http_ssi_filter_module.c

    r604d5c r581455  
    559559                        if (slcf->min_file_chunk < (size_t) (b->last - b->pos)) 
    560560                        { 
    561                             b->file_last = b->file_pos + (b->last - b->start); 
    562                             b->file_pos += b->pos - b->start; 
     561                            b->file_last = b->file_pos 
     562                                                   + (b->last - ctx->buf->pos); 
     563                            b->file_pos += b->pos - ctx->buf->pos; 
    563564 
    564565                        } else { 
  • server/src/http/modules/ngx_http_sub_filter_module.c

    r604d5c r581455  
    323323 
    324324                if (b->in_file) { 
    325                     b->file_last = b->file_pos + (b->last - b->start); 
    326                     b->file_pos += b->pos - b->start; 
     325                    b->file_last = b->file_pos + (b->last - ctx->buf->pos); 
     326                    b->file_pos += b->pos - ctx->buf->pos; 
    327327                } 
    328328 
  • server/src/http/modules/perl/nginx.pm

    raeeac8 r581455  
    4848); 
    4949 
    50 our $VERSION = '0.7.4'; 
     50our $VERSION = '0.7.5'; 
    5151 
    5252require XSLoader; 
  • server/src/http/ngx_http_header_filter_module.c

    r604d5c r581455  
    348348    } 
    349349 
     350#if (NGX_HTTP_GZIP) 
    350351    if (r->gzip && clcf->gzip_vary) { 
    351352        len += sizeof("Vary: Accept-Encoding" CRLF) - 1; 
    352353    } 
     354#endif 
    353355 
    354356    part = &r->headers_out.headers.part; 
     
    521523    } 
    522524 
     525#if (NGX_HTTP_GZIP) 
    523526    if (r->gzip && clcf->gzip_vary) { 
    524527        b->last = ngx_cpymem(b->last, "Vary: Accept-Encoding" CRLF, 
    525528                             sizeof("Vary: Accept-Encoding" CRLF) - 1); 
    526529    } 
     530#endif 
    527531 
    528532    part = &r->headers_out.headers.part; 
  • server/src/http/ngx_http_request.c

    raeeac8 r581455  
    26242624    } 
    26252625 
     2626    log->action = "logging request"; 
     2627 
    26262628    cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module); 
    26272629 
     
    26312633        log_handler[i](r); 
    26322634    } 
     2635 
     2636    log->action = "closing request"; 
    26332637 
    26342638    if (r->connection->timedout) { 
Note: See TracChangeset for help on using the changeset viewer.