summaryrefslogtreecommitdiffhomepage
path: root/auto (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-02-04Dynamic modules: introduced HTTP_INIT_FILTER_MODULES.Maxim Dounin1-8/+10
Additionally, HTTP_HEADERS_FILTER_MODULE now added to HTTP_FILTER_MODULES. This avoids explict use of modules at the later stages, now only module lists are used. This will be needed in later patches.
2016-02-04Dynamic modules: dlopen() support.Maxim Dounin3-4/+7
2016-02-04Dynamic modules: moved module-related stuff to separate files.Maxim Dounin1-0/+2
2015-12-07Slice filter.Roman Arutyunyan3-1/+21
Splits a request into subrequests, each providing a specific range of response. The variable "$slice_range" must be used to set subrequest range and proper cache key. The directive "slice" sets slice size. The following example splits requests into 1-megabyte cacheable subrequests. server { listen 8000; location / { slice 1m; proxy_cache cache; proxy_cache_key $uri$is_args$args$slice_range; proxy_set_header Range $slice_range; proxy_cache_valid 200 206 1h; proxy_pass http://127.0.0.1:9000; } }
2015-11-30Configure: improved workaround for system perl on OS X.Ruslan Ermilov1-1/+1
The workaround from baf2816d556d stopped to work because the order of "-arch x86_64" and "-arch i386" has changed.
2015-11-30Configure: removed comment obsolete in 3b763d36e055.Ruslan Ermilov1-3/+0
2015-11-23Configure: fixed using OpenSSL include paths.Maxim Dounin1-0/+1
2015-11-17Used the pwritev() syscall for writing files where possible.Valentin Bartenev1-0/+16
It is more effective, because it doesn't require a separate lseek().
2015-10-23Configure: style fixes for autoconf.err.Piotr Sikora2-4/+14
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
2015-09-11The HTTP/2 implementation (RFC 7240, 7241).Valentin Bartenev4-20/+24
The SPDY support is removed, as it's incompatible with the new module.
2015-06-18Stream: connection limiting module.Vladimir Homutov3-0/+12
stream { limit_conn_zone $binary_remote_addr zone=perip:1m; limit_conn_log_level error; server { ... limit_conn perip 1; } }
2015-06-10Configure: create missing intermediates for build directory.Piotr Sikora1-1/+1
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
2015-06-17Configure: fix tests with multi-level relative build directory.Ruslan Ermilov1-8/+1
Based on a patch by Piotr Sikora.
2015-06-11Moved ngx_http_parse_time() to core, renamed accordingly.Maxim Dounin1-1/+2
The function is now called ngx_parse_http_time(), and can be used by any code to parse HTTP-style date and time. In particular, it will be used for OCSP stapling. For compatibility, a macro to map ngx_http_parse_time() to the new name provided for a while.
2015-06-10Configure: added gcc5 to the list of known GCC versions.Valentin Bartenev1-1/+1
2015-06-10Configure: search OpenSSL in a bunch of standard places.Ruslan Ermilov1-0/+48
2015-06-10Configure: moved NGX_SBIN_PATH variable initialization.Ruslan Ermilov2-4/+1
It's now initialized in auto/options like the rest of variables for system paths. As a side effect, the currently unused macro NGX_SBIN_PATH now gets the correct value.
2015-06-04Stream: access module.Vladimir Homutov3-0/+11
stream { server { ... allow 127.0.0.1; deny all; } }
2015-06-03Fixed misspellings of the word "dependencies".Ruslan Ermilov1-4/+4
2015-05-25Configure: GNU Hurd properly recognized.Maxim Dounin1-0/+9
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.
2015-05-20The "reuseport" option of the "listen" directive.Maxim Dounin1-0/+10
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.
2015-05-20Configure: style.Maxim Dounin1-1/+1
2015-04-29Configure: handle deprecated options.Ruslan Ermilov1-8/+12
Removed the deprecated --without-http_limit_zone_module option. Deprecated the --with-imap and --with-imap_ssl_module options.
2015-04-23Removed the obsolete rtsig module.Ruslan Ermilov4-27/+0
2015-04-22Removed the obsolete aio module.Ruslan Ermilov4-30/+0
2015-04-20Fixed building --with-stream when precompiled headers are used.Sergey Kandaurov1-1/+1
2015-04-20Stream: port from NGINX+.Ruslan Ermilov4-0/+151
2015-04-14Upstream: the "zone" directive.Ruslan Ermilov3-0/+15
Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes.
2015-03-21Core: read/write locks.Ruslan Ermilov1-0/+2
2015-04-03Configure: style.Maxim Dounin1-1/+1
2015-03-20Removed busy locks.Ruslan Ermilov1-7/+1
2015-03-20Removed old pthread implementation.Ruslan Ermilov1-2/+0
2015-03-20Removed old FreeBSD rfork() thread implementation.Ruslan Ermilov1-3/+0
2015-03-14Events: implemented epoll notification mechanism.Valentin Bartenev1-0/+23
2015-03-14Thread pools implementation.Valentin Bartenev6-0/+42
2015-03-13Configure: removed obsolete threads bits.Ruslan Ermilov4-52/+0
2015-03-18Configure: fixed type max value detection.Ruslan Ermilov1-12/+2
The code tried to use suffixes for "long" and "long long" types, but it never worked as intended due to the bug in the shell code. Also, the max value for any 64-bit type other than "long long" on platforms with 32-bit "long" would be incorrect if the bug was fixed. So instead of fixing the bug in the shell code, always use the "int" constant for 32-bit types, and "long long" constant for 64-bit types.
2015-03-17Core: expose maximum values of time_t and ngx_int_t.Ruslan Ermilov1-0/+1
These are needed to detect overflows.
2015-03-13Configure: removed redundant auto/have call.Ruslan Ermilov1-1/+0
The auto/feature call above is enough to set NGX_HAVE_SENDFILE.
2015-02-11Configure: typo fixed.Sergey Kandaurov1-1/+1
2015-02-11Unbreak building on FreeBSD without file AIO.Valentin Bartenev1-3/+5
It appeared that the NGX_HAVE_AIO_SENDFILE macro was defined regardless of the "--with-file-aio" configure option and the NGX_HAVE_FILE_AIO macro. Now they are related. Additionally, fixed one macro.
2014-07-31Configure: remove outdated and unused patch.zlib.h.Piotr Sikora1-10/+0
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
2014-06-26Configure: restored "nginx/" missed in 6e4bb1d6679d.Maxim Dounin1-1/+2
2014-06-26Configure: style.Maxim Dounin1-2/+4
2014-06-17Configure: workaround for system perl on OS X (ticket #576).Maxim Dounin1-0/+5
2014-06-02Upstream: generic hash module.Roman Arutyunyan3-0/+13
2014-05-28Configure: added -Wno-deprecated-declarations on OS X.Maxim Dounin2-0/+10
Previous workaround to avoid warnings on OS X due to deprecated system OpenSSL library (introduced in a3870ea96ccd) no longer works, as the MAC_OS_X_VERSION_MIN_REQUIRED macro is ignored on OS X 10.9 if a compiler used supports __attribute__(availability).
2014-05-23Events: use eventfd() instead of syscall(SYS_eventfd) if possible.Ruslan Ermilov1-6/+27
This fixes --with-file-aio support on systems that lack eventfd() syscall, notably aarch64 Linux. The syscall(SYS_eventfd) may still be necessary on systems that have eventfd() syscall in the kernel but lack it in glibc, e.g. as seen in the current CentOS 5 release.
2014-05-12Added syslog support for error_log and access_log directives.Vladimir Homutov1-2/+4
2014-05-20Configure: the --build= option.Ruslan Ermilov2-0/+7
If set, its value is output in "nginx -v" and in the error log.