Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-11 | Tests: temporary dir removed after tests execution. | Andrei Zeliankou | 1 | -0/+6 | |
2021-05-07 | Tests: added test for TLS with empty Subject field. | Andrei Zeliankou | 1 | -109/+130 | |
2021-05-07 | Tests: PHP test with getting variable before the script is loaded. | Andrei Zeliankou | 3 | -2/+18 | |
2021-05-07 | PHP: forced initialization of $_SERVER in fastcgi_finish_request(). | Valentin Bartenev | 2 | -1/+33 | |
The "auto_globals_jit" PHP option postponed the initialization of the $_SERVER global variable until the script using it had been loaded (e. g. via the "include" expression). As a result, nxt_php_register_variables() could be called after fastcgi_finish_request() had finished the request and nulled ctx->req, which thus caused a segmentation fault. | |||||
2021-05-06 | Tests: MIME filtering | Oisin Canty | 1 | -0/+170 | |
2021-05-06 | Static: implemented MIME filtering | Oisin Canty | 5 | -17/+79 | |
2021-05-05 | Tests: added tests for openat2() features. | Andrei Zeliankou | 6 | -8/+380 | |
2021-05-05 | Fixed format and arguments mismatches in error log messages. | Zhidao HONG | 2 | -3/+3 | |
2021-05-05 | Fixed building without openat2(). | Zhidao HONG | 1 | -1/+3 | |
2021-04-29 | Static: support for openat2() features. | Zhidao HONG | 10 | -27/+313 | |
Support for chrooting, rejecting symlinks, and rejecting crossing mounting points on a per-request basis during static file serving. | |||||
2021-04-22 | Router: grouped app and share fields in nxt_http_action_t. | Zhidao HONG | 5 | -31/+45 | |
This is a prerequisite for further introduction of openat2() features. No functional changes. | |||||
2021-04-21 | Packages: switched to common address for package maintainers. | Andrei Belov | 7 | -7/+15 | |
2021-04-14 | Tests: fixed "skip" descriptors check flag for controller. | Andrei Zeliankou | 1 | -1/+1 | |
2021-04-12 | Packages: fixed Amazon Linux 2 module packages to use openssl 1.1 | Konstantin Pavlov | 1 | -0/+4 | |
2021-04-08 | Tests: preserving unit.log when run without restart. | Max Romanov | 9 | -96/+94 | |
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals. | |||||
2021-04-08 | Packages: moved Amazon Linux 2 packages to use openssl 1.1 | Konstantin Pavlov | 2 | -0/+8 | |
2021-04-05 | Tests: style. | Andrei Zeliankou | 67 | -623/+698 | |
2021-04-01 | Tests: unset LC_ALL variable in Ruby encoding test. | Andrei Zeliankou | 1 | -1/+2 | |
This change is necessary to set Encoding.default_external value correctly. | |||||
2021-03-31 | Tests: removed skip_alert(). | Andrei Zeliankou | 1 | -4/+1 | |
2021-03-31 | Packages: fixed "dist" target to include man page in the archive. | Valentin Bartenev | 1 | -1/+1 | |
2021-03-31 | Tests: added file descriptor leak detection. | Andrei Zeliankou | 2 | -2/+132 | |
2021-03-26 | Tests: SNI. | Andrei Zeliankou | 3 | -4/+306 | |
2021-03-26 | Tests: added test for Ruby default encoding. | Andrei Zeliankou | 2 | -0/+55 | |
2021-03-26 | Packages: corrected permissions for /var/log/unit in rpm. | Andrei Belov | 1 | -1/+1 | |
Found by rpmlint. | |||||
2021-03-26 | Corrected man page permissions in manpage-install. | Andrei Belov | 1 | -1/+1 | |
Found by rpmlint. | |||||
2021-03-26 | Version bump. | Valentin Bartenev | 2 | -2/+31 | |
2021-03-25 | Added tag 1.23.0 for changeset 49ee24c03f57 | Valentin Bartenev | 1 | -0/+1 | |
2021-03-25 | Generated Dockerfiles for Unit 1.23.0.1.23.0 | Valentin Bartenev | 8 | -8/+8 | |
2021-03-25 | Added version 1.23.0 CHANGES. | Valentin Bartenev | 2 | -1/+63 | |
2021-03-25 | Fixed wording in docs/changes.xml for the 1.23.0 release. | Artem Konev | 1 | -7/+9 | |
2021-03-25 | Fixing shm buffer leakage when sending over the port queue. | Max Romanov | 2 | -13/+91 | |
When the shm buffer is sent over the port queue, it needs to be completed because it's sent over the port socket. | |||||
2021-03-25 | Node.js: used distinct placeholder for version in "package.json". | Valentin Bartenev | 2 | -2/+2 | |
This makes the "sed" instruction simpler and more portable, as the previous variant didn't work well on BSD systems due to the "\s" metacharacter. Thanks to Sergey A. Osokin <osa@FreeBSD.org.ru> for spotting this issue. Also, this should prevent accidentally creating a version 1.0.0 package. | |||||
2021-03-25 | Node.js: fixing module global installation. | Max Romanov | 1 | -12/+26 | |
Globally installed modules require a globally installed libunit. The "binding_pub.gyp" file is the correct version, otherwise linked module may have unresolved symbols because libunit is not linked. | |||||
2021-03-25 | Releasing shm buffers for large body requests. | Max Romanov | 2 | -12/+4 | |
This fixes memory and shm file descriptor leakage that occurred when a large request body was passed via shared memory. The leakage was caught with the "test_settings_body_buffer_size" test. The main condition is the "body_buffer_size" value exceeding 10 Mb (a shm segment). Thus, the router was forced to split the body into several shm segments, but these buffers were not freed because of dummy completion handlers. | |||||
2021-03-24 | Added ability to configure multiple certificates on a listener. | Andrey Suvorov | 5 | -68/+524 | |
The certificate is selected by matching the arriving SNI to the common name and the alternatives names. If no certificate matches the name, the first bundle in the array is chosen. | |||||
2021-03-24 | Packages: added man page on rpm-based systems. | Konstantin Pavlov | 2 | -2/+3 | |
2021-03-24 | Packages: added man page on debian-based systems. | Konstantin Pavlov | 2 | -2/+4 | |
2021-03-24 | Added build system support for a man page. | Konstantin Pavlov | 6 | -6/+42 | |
2021-03-24 | Added a missing .El directive in man page source. | Artem Konev | 1 | -0/+1 | |
2021-03-24 | Added a man page. | Artem Konev | 1 | -0/+79 | |
Reviewed at https://rb.nginx.com/r/165/ | |||||
2021-03-24 | Certificates: fixed in name attributes processing. | Valentin Bartenev | 2 | -25/+23 | |
The idea is to put SAN after CN, but the previous version of the code incorrectly assumed that CN was always present, which caused writes outside the allocated object if there were no standard name attributes. | |||||
2021-03-24 | Certificates: moved SAN processing to a separate function. | Valentin Bartenev | 1 | -36/+56 | |
No functional changes. | |||||
2021-03-24 | Certficates: fixed counting DNS SAN entries. | Valentin Bartenev | 2 | -2/+12 | |
Previously, entries of any type were counted during object allocation but only DNS type entries were actually processed. As a result, if some certificate entries had another type, returning information about the certificate caused uninitialized memory access. | |||||
2021-03-24 | Tests: fixed racing condition in websocket test 5_15. | Max Romanov | 3 | -9/+33 | |
Test case: "send a text message split into two fragments, then a continuation frame with FIN = false where there is nothing to continue, then an unfragmented text message, all sent in one chop". The test case investigates immediate connection closing since there is no message to continue. The mirror server may send a response for the first frame before the test сontinuation frame is received by the router. In this case, the test will receive a text frame before the close frame. | |||||
2021-03-24 | Workaround for an OpenSSL bug about not closing /dev/*random. | Max Romanov | 1 | -0/+11 | |
This is a workaround for an issue in OpenSSL 1.1.1, where the /dev/random and /dev/urandom files remain open after all listening sockets were removed: - https://github.com/openssl/openssl/issues/7419 | |||||
2021-03-24 | Disabled logging alerts to syslog. | Valentin Bartenev | 2 | -2/+16 | |
It feels to be causing more harm than good, because syslog() can be blocking, which is even more critical under resource exhaustion conditions when some alerts are expected. | |||||
2021-03-22 | Java: upgrading third-party components. | Sergey A. Osokin | 3 | -19/+19 | |
2021-03-15 | Fixed building the PHP 5 module with ZTS, broken by dab8544b5440. | Valentin Bartenev | 2 | -0/+11 | |
This closes #525 issue on GitHub. | |||||
2021-03-15 | Ruby: fixed encodings initialization. | Valentin Bartenev | 2 | -0/+10 | |
The Ruby interpreter expects an explicit setlocale() call before initialization to pick up character encodings in the "Encoding" class from the environment. This closes #531 issue on GitHub. | |||||
2021-03-15 | Fixed certificates loading on startup with some filesystems. | Valentin Bartenev | 2 | -4/+13 | |
It appears that readdir() on Linux detects file types unreliably, always setting the "d_type" field to DT_UNKNOWN for some less common filesystems. As a result, all files were skipped and no certificate bundles were found when the state directory was located on such filesystems. Skipping "." and ".." instead of any non-regular files should be enough, as no other non-regular files normally appear in this directory. This closes #368 issue on GitHub. |