aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
Commit message (Collapse)AuthorAge
* Backed out f1a91825730a and 7094bd12c1ff.Maxim Dounin2013-08-20
| | | | | | | While ngx_get_full_name() might have a bit more descriptive arguments, the ngx_conf_full_name() is generally easier to use when parsing configuration and limits exposure of cycle->prefix / cycle->conf_prefix details.
* Replaced ngx_conf_full_name() with ngx_get_full_name().Valentin Bartenev2013-08-06
| | | | The ngx_get_full_name() function takes more readable arguments list.
* Core: consolidated log-related code.Vladimir Homutov2013-06-28
| | | | | The stderr redirection code is moved to ngx_log_redirect_stderr(). The opening of the default log code is moved to ngx_log_open_default().
* Core: fixed handling of "stderr" in error_log.Vladimir Homutov2013-06-04
| | | | | | If "stderr" was specified in one of the "error_log" directives, stderr is not redirected to the first error_log on startup, configuration reload, and reopening log files.
* Use NGX_FILE_ERROR for handling file operations errors.Valentin Bartenev2013-03-25
| | | | | | | | | | | On Win32 platforms 0 is used to indicate errors in file operations, so comparing against -1 is not portable. This was not much of an issue in patched code, since only ngx_fd_info() test is actually reachable on Win32 and in worst case it might result in bogus error log entry. Patch by Piotr Sikora.
* Core: fixed resource leak if binary upgrade fails due to no memory.Ruslan Ermilov2013-03-20
| | | | Found by Coverity (CID 992320).
* Core: guard against failed allocation during binary upgrade.Ruslan Ermilov2013-03-18
| | | | Patch by Piotr Sikora.
* Core: the "auto" parameter of the "worker_processes" directive.Andrey Belov2012-10-23
| | | | | The parameter will set the number of worker processes to the autodetected number of available CPU cores.
* Fixed the -p parameter handling.Ruslan Ermilov2012-08-03
| | | | | Ensure that the path supplied always ends with a `/' except when empty. An empty value now corresponds to the current directory instead of `/'.
* Fixed grammar in error messages.Ruslan Ermilov2012-04-12
|
* worker_cpu_affinity: cleaned up Linux implementation, added FreeBSD support.Ruslan Ermilov2012-03-21
|
* Copyright updated.Maxim Konovalov2012-01-18
|
* Fixed handling of SIGWINCH/NOACCEPT signal.Maxim Dounin2011-11-15
| | | | | After first upgrade it was ignored since r4020 (1.1.1, 1.0.9) as ngx_daemonized wasn't set.
* Introduction of simple ngx_write_stderr() instead of ngx_log_stderr()Igor Sysoev2011-11-14
| | | | | for output of ./configure options, etc., since ngx_log_stderr() output length is limited by 2048 characters defined as NGX_MAX_ERROR_STR.
* malloc() debugging on MacOSX.Igor Sysoev2011-10-24
|
* FreeBSD's MALLOC_OPTIONS must be set before any malloc() call.Igor Sysoev2011-10-24
| | | | The bug has been introduced in r3799.
* move ngx_strerror_init() at the very startIgor Sysoev2010-11-29
|
* use copied strerror() messages and autoconfigured sys_nerr valueIgor Sysoev2010-11-25
|
* worker_rlimit_core should be off_tIgor Sysoev2010-09-15
|
* the -q switchIgor Sysoev2010-09-02
|
* ngx_str_set() and ngx_str_null()Igor Sysoev2010-05-14
|
* fix commentsIgor Sysoev2010-03-26
|
* fix r3331:Igor Sysoev2009-12-17
| | | | | *) now pools are aligned to 16 bytes *) forbidden to set non-aligned pool sizes
* fix r3211Igor Sysoev2009-10-26
|
* add SNI support in -V outputIgor Sysoev2009-10-19
|
* nginx did not close log file set by --error-log-path,Igor Sysoev2009-10-09
| | | | the bug was introduced in r2744
* Linux/SPARC malloc() returns an address aligned to 8. This conflicts withIgor Sysoev2009-09-30
| | | | | our SPARC 16-byte alignment and some allocations may be done out of pool. ngx_memalign(ngx_pagesize) fixes this issue.
* a signaller process should stop configuration processing just afterIgor Sysoev2009-06-06
| | | | it is able to get pid file, this allows to not open log files, etc.
* add prefix in UsageIgor Sysoev2009-04-28
|
* -p and --prefix=Igor Sysoev2009-04-27
|
* add quotes for configure options with spacesIgor Sysoev2009-04-26
|
* pass command lines options to workersIgor Sysoev2009-04-23
|
* issue start up errors and warning on both stderr and error_logIgor Sysoev2009-04-23
|
* implement "-s signal" option for UnixIgor Sysoev2009-04-21
|
* add -? and -h optionsIgor Sysoev2009-04-21
|
* allow condensed command lines optionsIgor Sysoev2009-04-21
|
* test command line options before ngx_log_init() and issue errors to stderrIgor Sysoev2009-04-21
|
* Win32 master/workers modelIgor Sysoev2009-04-20
|
* show -t results on stderrIgor Sysoev2009-04-19
|
* small optimization: " == NGX_ERROR" > " != NGX_OK"Igor Sysoev2009-02-24
|
* compatibility with glibc 2.3, warn_unused_result attribute for write()Igor Sysoev2008-11-11
|
* remove unused #include'sIgor Sysoev2008-09-05
|
* -g switchIgor Sysoev2008-06-30
|
* *) back out r2040Igor Sysoev2008-06-17
| | | | | | *) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
* style fixIgor Sysoev2008-05-22
|
* move condition declarations inside blocks where they are usedIgor Sysoev2007-12-10
|
* rename ngx_crc32_init() to ngx_crc32_table_init()Igor Sysoev2007-12-07
| | | | ngx_crc32_init(), ngx_crc32_update(), ngx_crc32_final()
* test relative nginx.conf, this is compatible with old versionsIgor Sysoev2007-08-20
| | | | because cycle->root on this stage is not set
* --sysconfdir=DIRIgor Sysoev2007-07-29
|
* fix potential segfault,Igor Sysoev2007-07-19
| | | | found by Coverity's Scan