summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_process_cycle.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-12-13allow "env" to work in the single process modeIgor Sysoev1-0/+5
2010-09-15worker_rlimit_core should be off_tIgor Sysoev1-2/+2
2010-03-25*) introduce ngx_time_sigsafe_update() to update the error log time onlyIgor Sysoev1-3/+3
*) change ngx_time_update() interface
2010-03-13*) use previously cached GMT offset value to update time from a signal handlerIgor Sysoev1-3/+3
*) change ngx_time_update() interface since there are no notification methods those return time
2009-11-23add NGX_PROCESS_HELPER process statusIgor Sysoev1-2/+4
2009-11-11fix building without --with-debug, introduced in r3294Igor Sysoev1-1/+1
2009-11-04Fix a bug introduced in r2032: After a child process has read a terminateIgor Sysoev1-2/+12
message from a channel, the process tries to read the channel again. The kernel (at least FreeBSD) may preempt the process and sends a SIGIO signal to a master process. The master process sends a new terminate message, the kernel switches again to the the child process, and the child process reads the messages instead of an EAGAIN error. And this may repeat over and over. Being that the child process can not exit the cycle and test the termination flag set by the message handler. The fix disallow the master process to send a new terminate message on SIGIO signal reception. It may send the message only on SIGALARM signal.
2009-10-26http listen unix domain socketsIgor Sysoev1-0/+2
2009-08-26twice termination delay only after SIGALRM, otherwise many separate SIGCHLDIgor Sysoev1-1/+5
and SIGIO signals quickly increase delay to the level when SIGKILL is sent
2009-08-26style fixIgor Sysoev1-2/+1
2009-08-26fix typoIgor Sysoev1-1/+1
2009-08-21*) share temporary number between workersIgor Sysoev1-4/+0
*) randomize collision offset
2009-08-13fix debug point for left open socketsIgor Sysoev1-3/+4
2009-08-10delete mistaken sleep in the previous commitIgor Sysoev1-2/+0
2009-08-10cache loader processIgor Sysoev1-61/+96
2009-08-10introduce NGX_PROCESS_JUST_SPAWN and change field name accordinglyIgor Sysoev1-4/+4
2009-03-30introduce cache manager instead of cache cleanerIgor Sysoev1-17/+17
2009-03-23a prelimiary proxy cache supportIgor Sysoev1-40/+66
2009-02-23fix messageIgor Sysoev1-1/+1
2008-06-17*) back out r2040Igor Sysoev1-1/+1
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-05-25read channel until EAGAINIgor Sysoev1-43/+47
2008-02-28left open sockets were not really testedIgor Sysoev1-5/+5
2008-02-19avoid endless loop if epoll is usedIgor Sysoev1-0/+5
2007-12-10move condition declarations inside blocks where they are usedIgor Sysoev1-6/+5
2007-10-18Cygwin can not pass SCM_RIGHTS via unix socket, use signalsIgor Sysoev1-0/+8
2007-10-16fix building broken in r1578Igor Sysoev1-1/+0
2007-10-16delete code that should be deleted in r1576Igor Sysoev1-10/+0
2007-10-16avoid segfault if poll is used and endless loop if select is usedIgor Sysoev1-1/+1
2007-10-14fix English grammarIgor Sysoev1-4/+4
2007-08-30destroy ngx_cycle->pool on exitIgor Sysoev1-8/+31
2007-08-15set worker_priority, worker_rlimit_nofile, worker_rlimit_core, andIgor Sysoev1-31/+31
worker_rlimit_sigpending without super-user privileges testing
2007-03-19close keep-alive connections in the shuting down processesIgor Sysoev1-5/+22
2007-03-07worker processes did not exit after reconfiguration andIgor Sysoev1-0/+6
did not rotate logs if eventport was used
2007-03-06style fixIgor Sysoev1-4/+6
2007-03-06style fixIgor Sysoev1-1/+2
2007-01-20envIgor Sysoev1-6/+11
2006-12-24worker_rlimit_core supports size in K, M, and GIgor Sysoev1-1/+1
2005-12-16nginx-0.3.16-RELEASE importrelease-0.3.16Igor Sysoev1-0/+11
*) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; the bug had appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; the bug had appeared in 0.3.13.
2005-12-07nginx-0.3.15-RELEASE importrelease-0.3.15Igor Sysoev1-15/+17
*) Feature: the new 444 code of the "return" directive to close connection. *) Feature: the "so_keepalive" directive in IMAP/POP3 proxy. *) Bugfix: if there are unclosed connection nginx now calls abort() only on gracefull quit and active "debug_points" directive.
2005-11-15nginx-0.3.10-RELEASE importrelease-0.3.10Igor Sysoev1-11/+29
*) Change: the "valid_referers" directive and the "$invalid_referer" variable were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module. *) Change: the "$apache_bytes_sent" variable name was changed to "$body_bytes_sent". *) Feature: the "$sent_http_..." variables. *) Feature: the "if" directive supports the "=" and "!=" operations. *) Feature: the "proxy_pass" directive supports the HTTPS protocol. *) Feature: the "proxy_set_body" directive. *) Feature: the "post_action" directive. *) Feature: the ngx_http_empty_gif_module. *) Feature: the "worker_cpu_affinity" directive for Linux. *) Bugfix: the "rewrite" directive did not unescape URI part in redirect, now it is unescaped except the %00-%25 and %7F-%FF characters. *) Bugfix: nginx could not be built by the icc 9.0 compiler. *) Bugfix: if the SSI was enabled for zero size static file, then the chunked response was encoded incorrectly.
2005-11-09nginx-0.3.8-RELEASE importrelease-0.3.8Igor Sysoev1-61/+57
*) Security: nginx now checks URI got from a backend in "X-Accel-Redirect" header line or in SSI file for the "/../" paths and zeroes. *) Change: nginx now does not treat the empty user name in the "Authorization" header line as valid one. *) Feature: the "ssl_session_timeout" directives of the ngx_http_ssl_module and ngx_imap_ssl_module. *) Feature: the "auth_http_header" directive of the ngx_imap_auth_http_module. *) Feature: the "add_header" directive. *) Feature: the ngx_http_realip_module. *) Feature: the new variables to use in the "log_format" directive: $bytes_sent, $apache_bytes_sent, $status, $time_gmt, $uri, $request_time, $request_length, $upstream_status, $upstream_response_time, $gzip_ratio, $uid_got, $uid_set, $connection, $pipe, and $msec. The parameters in the "%name" form will be canceled soon. *) Change: now the false variable values in the "if" directive are the empty string "" and string starting with "0". *) Bugfix: while using proxied or FastCGI-server nginx may leave connections and temporary files with client requests in open state. *) Bugfix: the worker processes did not flush the buffered logs on graceful exit. *) Bugfix: if the request URI was changes by the "rewrite" directive and the request was proxied in location given by regular expression, then the incorrect request was transferred to backend; the bug had appeared in 0.2.6. *) Bugfix: the "expires" directive did not remove the previous "Expires" header. *) Bugfix: nginx may stop to accept requests if the "rtsig" method and several worker processes were used. *) Bugfix: the "\"" and "\'" escape symbols were incorrectly handled in SSI commands. *) Bugfix: if the response was ended just after the SSI command and gzipping was used, then the response did not transferred complete or did not transferred at all.
2005-10-27nginx-0.3.7-RELEASE importrelease-0.3.7Igor Sysoev1-0/+21
*) Feature: the "access_log" supports the "buffer=" parameter. *) Bugfix: nginx could not be built on platforms different from i386, amd64, sparc, and ppc; the bug had appeared in 0.3.2.
2005-10-19nginx-0.3.3-RELEASE importrelease-0.3.3Igor Sysoev1-24/+32
*) Change: the "bl" and "af" parameters of the "listen" directive was renamed to the "backlog" and "accept_filter". *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen" directive. *) Change: the "$msec" log parameter does not require now the additional the gettimeofday() system call. *) Feature: the -t switch now tests the "listen" directives. *) Bugfix: if the invalid address was specified in the "listen" directive, then after the -HUP signal nginx left an open socket in the CLOSED state. *) Bugfix: the mime type may be incorrectly set to default value for index file with variable in the name; the bug had appeared in 0.3.0. *) Feature: the "timer_resolution" directive. *) Feature: the millisecond "$upstream_response_time" log parameter. *) Bugfix: a temporary file with client request body now is removed just after the response header was transferred to a client. *) Bugfix: OpenSSL 0.9.6 compatibility. *) Bugfix: the SSL certificate and key file paths could not be relative. *) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in the ngx_imap_ssl_module. *) Bugfix: the "ssl_protocols" directive allowed to specify the single protocol only.
2005-10-10nginx-0.3.1-RELEASE importrelease-0.3.1Igor Sysoev1-1/+1
*) Bugfix: the segmentation fault occurred when the signal queue overflowed if the "rtsig" method was used; the bug had appeared in 0.2.0. *) Change: correct handling of the "\\", "\"", "\'", and "\$" pairs in SSI.
2005-10-07nginx-0.3.0-RELEASE importrelease-0.3.0Igor Sysoev1-41/+2
*) Change: the 10-days live time limit of worker process was eliminated. The limit was introduced because of millisecond timers overflow.
2005-09-23nginx-0.2.0-RELEASE importrelease-0.2.0Igor Sysoev1-8/+54
*) The pid-file names used during online upgrade was changed and now is not required a manual rename operation. The old master process adds the ".oldbin" suffix to its pid-file and executes a new binary file. The new master process creates usual pid-file without the ".newbin" suffix. If the master process exits, then old master process renames back its pid-file with the ".oldbin" suffix to the pid-file without suffix. *) Change: the "worker_connections" directive, new name of the "connections" directive; now the directive specifies maximum number of connections, but not maximum socket descriptor number. *) Feature: SSL supports the session cache inside one worker process. *) Feature: the "satisfy_any" directive. *) Change: the ngx_http_access_module and ngx_http_auth_basic_module do not run for subrequests. *) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending" directives. *) Bugfix: if all backend using in load-balancing failed after one error, then nginx did not try do connect to them during 60 seconds. *) Bugfix: in IMAP/POP3 command argument parsing. Thanks to Rob Mueller. *) Bugfix: errors while using SSL in IMAP/POP3 proxy. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the "Expires" and "Cache-Control" header lines were omitted from the 304 responses. Thanks to Alexandr Kukushkin.
2005-08-23nginx-0.1.42-RELEASE importrelease-0.1.42Igor Sysoev1-1/+1
*) Bugfix: if the request URI had a zero length after the processing in the ngx_http_proxy_module, then the segmentation fault or bus error occurred in the ngx_http_proxy_module. *) Bugfix: the "limit_rate" directive did not work inside the "if" block; the bug had appeared in 0.1.38.
2005-07-25nginx-0.1.40-RELEASE importrelease-0.1.40Igor Sysoev1-1/+13
*) Bugfix: if a client sent too long header line, then the request information did not logged in the error log. *) Bugfix: the "Set-Cookie" header line was not transferred when the "X-Accel-Redirect" was used; the bug had appeared in 0.1.39. *) Bugfix: the "Content-Disposition" header line was not transferred when the "X-Accel-Redirect" was used. *) Bugfix: the master process did not close the listen socket on the SIGQUIT signal. *) Bugfix: after on-line upgrade on Linux and Solaris the process name became shorter in the "ps" command.
2005-06-15nginx-0.1.36-RELEASE importrelease-0.1.36Igor Sysoev1-1/+1
*) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
2005-06-07nginx-0.1.35-RELEASE importrelease-0.1.35Igor Sysoev1-0/+9
*) Feature: the "working_directory" directive. *) Feature: the "port_in_redirect" directive. *) Bugfix: the segmentation fault was occurred if the backend response header was in several packets; the bug had appeared in 0.1.29. *) Bugfix: if more than 10 servers were configured or some server did not use the "listen" directive, then the segmentation fault was occurred on the start. *) Bugfix: the segmentation fault might occur if the response was bigger than the temporary file. *) Bugfix: nginx returned the 400 response on requests like "GET http://www.domain.com/uri HTTP/1.0"; the bug had appeared in 0.1.28.