summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_conf_file.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-02-13Time parsing cleanup.Maxim Dounin1-9/+1
Nuke NGX_PARSE_LARGE_TIME, it's not used since 0.6.30. The only error ngx_parse_time() can currently return is NGX_ERROR, check it explicitly and make sure to cast it to appropriate type (either time_t or ngx_msec_t) to avoid signedness warnings on platforms with unsigned time_t (notably QNX).
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-04-12use memmove() in appropriate placesIgor Sysoev1-1/+1
2010-06-23style fixIgor Sysoev1-1/+2
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-2/+1
2010-02-12const char *fmt in ngx_conf_log_error()Igor Sysoev1-1/+1
2009-11-05cf->conf_file->file.name.data may be uninitialized, if an allocation failed;Igor Sysoev1-1/+1
found by Clang Static Analyzer
2009-06-02add drive letter for Win32 root pathIgor Sysoev1-24/+71
2009-05-14style fixIgor Sysoev1-1/+3
2009-04-30*) refactor error_log processing: listen socket log might inherit built-inIgor Sysoev1-4/+3
error_log with zero level, and r2447, r2466, r2467 were not enough *) remove bogus "stderr" level *) some functions and fields renames
2009-04-28*) do not show line number for -g optionIgor Sysoev1-3/+14
*) reset configuration file after -g option has been parsed
2009-04-27ngx_log_errno()Igor Sysoev1-21/+1
2009-04-27use ngx_vslprintf(), ngx_slprintf()Igor Sysoev1-4/+4
2009-04-27-p and --prefix=Igor Sysoev1-10/+12
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev1-1/+1
2009-02-24small optimization: " == NGX_ERROR" > " != NGX_OK"Igor Sysoev1-2/+2
2008-11-25allocate cf->conf_file and cf->conf_file->buffer on stackIgor Sysoev1-21/+15
2008-11-25fix segfault on close errorIgor Sysoev1-2/+2
2008-11-25*) increase ngx_conf_log_error() bufferIgor Sysoev1-11/+27
*) always log an error code
2008-11-11compatibility with glibc 2.3, warn_unused_result attribute for write()Igor Sysoev1-2/+16
2008-09-01fix building by msvc introduced in r2223Igor Sysoev1-1/+1
2008-09-01test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bugIgor Sysoev1-10/+26
2008-08-27quoted too long parameter errorIgor Sysoev1-2/+15
2008-08-26too long parameter errorIgor Sysoev1-8/+20
2008-08-26fix typesIgor Sysoev1-4/+4
2008-06-30-g switchIgor Sysoev1-5/+66
2008-06-25refactor obscure codeIgor Sysoev1-7/+11
2008-06-17*) back out r2040Igor Sysoev1-2/+2
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-04-29ignore glob no match errorIgor Sysoev1-0/+8
2008-03-03included file name must be allocated in pool,Igor Sysoev1-2/+5
because it may be used in error message later
2007-12-09*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTRIgor Sysoev1-1/+1
this fixes fastcgi_catch_stderr segfault introduced in r1453 *) ngx_http_upstream_hide_headers_hash() *) proxy/fastcgi pass_header/hide_header use ngx_http_upstream_hide_headers_hash()
2007-10-09style fix: remove double semicolonsIgor Sysoev1-1/+1
2007-08-31fix typoIgor Sysoev1-1/+1
2007-07-29--sysconfdir=DIRIgor Sysoev1-6/+15
2007-06-05change wordingIgor Sysoev1-3/+3
2007-02-20ngx_log_error() > ngx_conf_log_error()Igor Sysoev1-54/+27
2007-02-20use "goto" instead of indistinct "break"Igor Sysoev1-11/+13
2007-02-20stop on superfluous closing "}"Igor Sysoev1-0/+6
2007-02-14ngx_strcasecmp()/ngx_strncasecmp()Igor Sysoev1-2/+2
2007-01-18ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)Igor Sysoev1-1/+1
2007-01-07style fixIgor Sysoev1-6/+6
2006-10-02glob support in includeIgor Sysoev1-3/+37
2006-07-07nginx-0.3.53-RELEASE importrelease-0.3.53Igor Sysoev1-0/+31
*) Change: the "add_header" directive adds the string to 204, 301, and 302 responses. *) Feature: the "server" directive in the "upstream" context supports the "weight" parameter. *) Feature: the "server_name" directive supports the "*" wildcard. *) Feature: nginx supports the request body size more than 2G. *) Bugfix: if a client was successfully authorized using "satisfy_any on", then anyway the message "access forbidden by rule" was written in the log. *) Bugfix: the "PUT" method may erroneously not create a file and return the 409 code. *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx continued proxying anyway.
2006-05-11nginx-0.3.46-RELEASE importrelease-0.3.46Igor Sysoev1-9/+44
*) Feature: the "proxy_hide_header", "proxy_pass_header", "fastcgi_hide_header", and "fastcgi_pass_header" directives. *) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and "proxy_pass_server" directives were canceled. *) Feature: the "X-Accel-Buffering" response header line is supported in proxy mode. *) Bugfix: the reconfiguration bug and memory leaks in the ngx_http_perl_module.
2006-05-04nginx-0.3.44-RELEASE importrelease-0.3.44Igor Sysoev1-88/+96
*) Feature: the "wait" parameter in the "include" SSI command. *) Feature: the Ukrainian and Byelorussian characters were added to koi-win conversion table. *) Bugfix: in the SSI.
2006-04-05nginx-0.3.36-RELEASE importrelease-0.3.36Igor Sysoev1-3/+16
*) Feature: the ngx_http_addition_filter_module. *) Feature: the "proxy_pass" and "fastcgi_pass" directives may be used inside the "if" block. *) Feature: the "proxy_ignore_client_abort" and "fastcgi_ignore_client_abort" directives. *) Feature: the "$request_completion" variable. *) Feature: the ngx_http_perl_module supports the $r->request_method and $r->remote_addr. *) Feature: the ngx_http_ssi_module supports the "elif" command. *) Bugfix: the "\/" string in the expression of the "if" command of the ngx_http_ssi_module was treated incorrectly. *) Bugfix: in the regular expressions in the "if" command of the ngx_http_ssi_module. *) Bugfix: if the relative path was specified in the "client_body_temp_path", "proxy_temp_path", "fastcgi_temp_path", and "perl_modules" directives, then the directory was used relatively to a current path but not to a server prefix.
2006-02-01nginx-0.3.24-RELEASE importrelease-0.3.24Igor Sysoev1-14/+3
*) Workaround: for bug in FreeBSD kqueue. *) Bugfix: now a response generated by the "post_action" directive is not transferred to a client. *) Bugfix: the memory leaks were occurring if many log files were used. *) Bugfix: the first "proxy_redirect" directive was working inside one location. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start if the many names were used in the "server_name" directives; the bug had appeared in 0.3.18.
2005-12-26nginx-0.3.18-RELEASE importrelease-0.3.18Igor Sysoev1-1/+7
*) Feature: the "server_names" directive supports the ".domain.tld" names. *) Feature: the "server_names" directive uses the hash for the "*.domain.tld" names and more effective hash for usual names. *) Change: the "server_names_hash_max_size" and "server_names_hash_bucket_size" directives. *) Change: the "server_names_hash" and "server_names_hash_threshold" directives were canceled. *) Feature: the "valid_referers" directive uses the hash site names. *) Change: now the "valid_referers" directive checks the site names only without the URI part. *) Bugfix: some ".domain.tld" names incorrectly processed by the ngx_http_map_module. *) Bugfix: segmentation fault was occurred if configuration file did not exist; the bug had appeared in 0.3.12. *) Bugfix: on 64-bit platforms segmentation fault may occurred on start; the bug had appeared in 0.3.16.
2005-12-05nginx-0.3.13-RELEASE importrelease-0.3.13Igor Sysoev1-0/+2
*) Feature: the IMAP/POP3 proxy supports STARTTLS and STLS. *) Bugfix: the IMAP/POP3 proxy did not work with the select, poll, and /dev/poll methods. *) Bugfix: in SSI handling. *) Bugfix: now Solaris sendfilev() is not used to transfer the client request body to FastCGI-server via the unix domain socket. *) Bugfix: the "auth_basic" directive did not disable the authorization; the bug had appeared in 0.3.11.
2005-11-26nginx-0.3.12-RELEASE importrelease-0.3.12Igor Sysoev1-7/+27
*) Security: if nginx was built with the ngx_http_realip_module and the "satisfy_any on" directive was used, then access and authorization directives did not work. The ngx_http_realip_module was not built and is not built by default. *) Change: the "$time_gmt" variable name was changed to "$time_local". *) Change: the "proxy_header_buffer_size" and "fastcgi_header_buffer_size" directives was renamed to the "proxy_buffer_size" and "fastcgi_buffer_size" directives. *) Feature: the ngx_http_memcached_module. *) Feature: the "proxy_buffering" directive. *) Bugfix: the changes in accept mutex handling when the "rtsig" method was used; the bug had appeared in 0.3.0. *) Bugfix: if the client sent the "Transfer-Encoding: chunked" header line, then nginx returns the 411 error. *) Bugfix: if the "auth_basic" directive was inherited from the http level, then the realm in the "WWW-Authenticate" header line was without the "Basic realm" text. *) Bugfix: if the "combined" format was explicitly specified in the "access_log" directive, then the empty lines was written to the log; the bug had appeared in 0.3.8. *) Bugfix: nginx did not run on the sparc platform under any OS except Solaris. *) Bugfix: now it is not necessary to place space between the quoted string and closing bracket in the "if" directive.