aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Stream: access module.Vladimir Homutov2015-06-04
| | | | | | | | | | stream { server { ... allow 127.0.0.1; deny all; } }
* Stream: added postconfiguration method to stream modules.Vladimir Homutov2015-06-09
|
* Mail: listen backlog=.Ruslan Ermilov2015-06-08
|
* Stream: listen backlog=.Ruslan Ermilov2015-06-08
|
* Mail: embed ngx_mail_listen_t into ngx_mail_conf_addr_t.Ruslan Ermilov2015-06-08
|
* Stream: embed ngx_stream_listen_t into ngx_stream_conf_addr_t.Ruslan Ermilov2015-06-08
|
* Stream: fixed "reuseport" to actually work.Ruslan Ermilov2015-06-05
|
* Upstream keepalive: reduced diffs to the plus version of nginx.Roman Arutyunyan2015-06-04
|
* Style.Maxim Dounin2015-06-05
|
* Event pipe: call ngx_handle_read_event() with a proper flags type.Sergey Kandaurov2015-06-03
| | | | The change was missed in f69d1aab6a0f.
* Fixed excessive memory usage while parsing configuration.Valentin Bartenev2015-06-01
| | | | | | The b->pos points to the next symbol here. Reported by ilexshen.
* Fixed bullying style of comments.Ruslan Ermilov2015-05-29
|
* Version bump.Ruslan Ermilov2015-05-29
|
* Disabled SSLv3 by default (ticket #653).Maxim Dounin2015-05-25
|
* Configure: GNU Hurd properly recognized.Maxim Dounin2015-05-25
| | | | | | | | | | With this change it's no longer needed to pass -D_GNU_SOURCE manually, and -D_FILE_OFFSET_BITS=64 is set to use 64-bit off_t. Note that nginx currently fails to work properly with master process enabled on GNU Hurd, as fcntl(F_SETOWN) returns EOPNOTSUPP for sockets as of GNU Hurd 0.6. Additionally, our strerror() preloading doesn't work well with GNU Hurd, as it uses large numbers for most errors.
* Fixed reuseport with accept_mutex.Maxim Dounin2015-05-21
|
* Upstream: report to error_log when max_fails is reached.Ruslan Ermilov2015-05-20
| | | | | This can be useful to understand why "no live upstreams" happens, in particular.
* The "reuseport" option of the "listen" directive.Maxim Dounin2015-05-20
| | | | | | | | | | | | | | | When configured, an individual listen socket on a given address is created for each worker process. This allows to reduce in-kernel lock contention on configurations with high accept rates, resulting in better performance. As of now it works on Linux and DragonFly BSD. Note that on Linux incoming connection requests are currently tied up to a specific listen socket, and if some sockets are closed, connection requests will be reset, see https://lwn.net/Articles/542629/. With nginx, this may happen if the number of worker processes is reduced. There is no such problem on DragonFly BSD. Based on previous work by Sepherosa Ziehau and Yingqi Lu.
* Simplified ngx_http_init_listening().Maxim Dounin2015-05-20
| | | | | | | | | | | | | There is no need to set "i" to 0, as it's expected to be 0 assuming the bindings are properly sorted, and we already rely on this when explicitly set hport->naddrs to 1. Remaining conditional code is replaced with identical "hport->naddrs = i + 1". Identical modifications are done in the mail and stream modules, in the ngx_mail_optimize_servers() and ngx_stream_optimize_servers() functions, respectively. No functional changes.
* Introduced worker number, ngx_worker.Maxim Dounin2015-05-20
|
* Core: properly initialized written bytes counter in memory log.Valentin Bartenev2015-05-19
|
* Upstream hash: consistency across little/big endianness.Sergey Kandaurov2015-05-18
|
* Upstream: $upstream_connect_time.Ruslan Ermilov2015-05-16
| | | | | The variable keeps time spent on establishing a connection with the upstream server.
* Upstream: times to obtain header/response are stored as ngx_msec_t.Ruslan Ermilov2015-05-16
|
* Events: ngx_event_t size reduction by grouping bit fields.Igor Sysoev2015-05-15
|
* Events: made a failure to create a notification channel non-fatal.Ruslan Ermilov2015-05-06
| | | | | | | This may happen if eventfd() returns ENOSYS, notably seen on CentOS 5.4. Such a failure will now just disable the notification mechanism and let the callers cope with it, instead of failing to start worker processes. If thread pools are not configured, this can safely be ignored.
* Removed the deprecated "imap" directive.Ruslan Ermilov2015-04-29
|
* Removed the deprecated "so_keepalive" directive.Ruslan Ermilov2015-04-29
|
* Removed deprecated HTTP directives.Ruslan Ermilov2015-04-29
|
* Removed the deprecated "connections" directive.Ruslan Ermilov2015-04-29
|
* Fixed overflow detection in ngx_inet_addr().Valentin Bartenev2015-04-28
| | | | | | Overflow detection of the last octet might not work. Reported by Sergey Polovko.
* Version bump.Valentin Bartenev2015-04-28
|
* Win32: shared memory base addresses and remapping.Maxim Dounin2015-04-27
| | | | | | | | | | | | | | | | | | | | | Two mechanisms are implemented to make it possible to store pointers in shared memory on Windows, in particular on Windows Vista and later versions with ASLR: - The ngx_shm_remap() function added to allow remapping of a shared memory zone to the address originally used for it in the master process. While important, it doesn't solve the problem by itself as in many cases it's not possible to use the address because of conflicts with other allocations. - We now create mappings at the same address in all processes by starting mappings at predefined addresses normally unused by newborn processes. These two mechanisms combined allow to use shared memory on Windows almost without problems, including reloads. Based on the patch by Sergey Brester: http://mailman.nginx.org/pipermail/nginx-devel/2015-April/006836.html
* Win32: fixed shm.handle loss on reload.Maxim Dounin2015-04-27
|
* Core: fixed nginx_shared_zone name.Maxim Dounin2015-04-27
|
* Mail: error_log support.Vladimir Homutov2015-02-20
|
* Core: the ngx_set_connection_log() macro.Vladimir Homutov2015-04-25
| | | | The http and stream versions of this macro were identical.
* Merge proxy_protocol setting of listen directives.Roman Arutyunyan2015-04-24
| | | | | | It's now enough to specify proxy_protocol option in one listen directive to enable it in all servers listening on the same address/port. Previously, the setting from the first directive was always used.
* Removed the "worker_rlimit_sigpending" directive.Ruslan Ermilov2015-04-23
| | | | It was only needed by the just removed rtsig module.
* Removed the obsolete rtsig module.Ruslan Ermilov2015-04-23
|
* Removed the obsolete aio module.Ruslan Ermilov2015-04-22
|
* Stream: prevent repeated event notifications after eof.Roman Arutyunyan2015-04-22
| | | | | | When client or upstream connection is closed, level-triggered read event remained active until the end of the session leading to cpu hog. Now the flag NGX_CLOSE_EVENT is used to unschedule the event.
* Upstream: allow multiple upstreams to use the same shared zone.Ruslan Ermilov2015-04-22
|
* Memcached: enabled ranges.Martin Mlynář2015-04-21
|
* Upstream: simplified ip_hash and hash peer selection code.Ruslan Ermilov2015-04-21
| | | | | Now that peers are stored as a list, the weighted and unweighted cases became nearly identical.
* Limit req: removed check for unknown limit_req_zone.Sergey Kandaurov2015-04-20
| | | | With 48b3d5ddfb03, it's possible to specify limit_req_zone after limit_req.
* Core: allow shared memory size to be declared after a reference.Sergey Kandaurov2015-04-20
| | | | | For example, this fixes the case when "proxy_cache_path" is specified after "proxy_cache" that references it.
* Stream: port from NGINX+.Ruslan Ermilov2015-04-20
|
* Upstream: fixed unlocked access to peer->conns.Ruslan Ermilov2015-04-19
|
* Replaced the remaining NGX_OLD_THREADS check with NGX_WIN32.Ruslan Ermilov2015-03-26
|