Commit Graph

  • c721a5378d Fixing request buffer memory leakage in router. Max Romanov 2020-09-29 22:57:56 +03:00
  • c4b000f9cc Supporting HTTP/1.0 keep-alive. Max Romanov 2020-09-29 22:57:46 +03:00
  • 4de6ffa63f Tests: tuned delay in test_settings_idle_timeout_2. Andrei Zeliankou 2020-09-27 23:46:31 +01:00
  • 4095454946 Tests: added pytest.ini. Andrei Zeliankou 2020-09-27 23:27:19 +01:00
  • efe65dee4d Tests: prerequisites check improved by using callable. Max Romanov 2020-09-24 09:47:27 +03:00
  • 1fc51cf140 Tests: introduced module name configuration. Max Romanov 2020-09-22 19:53:19 +03:00
  • dc49c561e2 Tests: improved response receiving while upgrade. Max Romanov 2020-09-22 12:40:35 +03:00
  • 767c4cb508 Tests: using dict.get() method with default value. Max Romanov 2020-09-22 12:40:18 +03:00
  • 98c86c415c Tests: added variable test with nonexistent upstream. Andrei Zeliankou 2020-09-21 21:29:34 +01:00
  • 39008c1f05 Tests: added test for "idle_timeout" with empty payload. Andrei Zeliankou 2020-09-21 21:24:42 +01:00
  • 449652afa1 Tests: added multiple headers concatenation test. Max Romanov 2020-09-21 21:18:13 +03:00
  • af964488ba Tests: changing Python application callable name. Max Romanov 2020-09-21 10:32:14 +03:00
  • 7842c2d980 Added .hgignore file. Andrei Zeliankou 2020-09-18 19:37:56 +01:00
  • 8ee96c224a Updated racially charged language in messages and comments. Artem Konev 2020-09-18 11:46:15 +01:00
  • f16ae01b12 Python: app module callable name configuration. Max Romanov 2020-09-18 13:41:58 +03:00
  • 6b9882fc14 Fixed segmentation fault during reconfiguration. Igor Sysoev 2020-09-18 13:20:06 +03:00
  • 6cfbf4ba79 Fixed segmentation fault during reconfiguration. Igor Sysoev 2020-09-18 13:20:05 +03:00
  • 09f4db1fc0 Fixed use-after-free error during reconfiguration. Igor Sysoev 2020-09-18 13:20:02 +03:00
  • 806135f1c9 Router: fixed "pass" to upstreams. hongzhidao 2020-08-28 00:53:36 -04:00
  • d5e9159340 Tests: migrated to the pytest. Andrei Zeliankou 2020-09-16 21:31:15 +01:00
  • 77ecb6ab49 Isolation: remove redundant macro. Tiago Natel de Moura 2020-09-16 17:52:53 +01:00
  • d5973fb557 Python: changed request headers format in router protocol. Max Romanov 2020-09-15 20:12:25 +03:00
  • 5163551ffe Hardening header names comparation for grouping. Max Romanov 2020-09-15 20:11:48 +03:00
  • d94dac091f Python: split module initialization from WSGI implementation. Max Romanov 2020-09-14 13:27:02 +03:00
  • d483aa74e6 Python: source file moved to 'python' sub-directory. Max Romanov 2020-09-14 12:07:30 +03:00
  • bd4ca6a057 Fixing WebSocket frame retain function. Max Romanov 2020-09-10 12:16:32 +03:00
  • 22c88f0253 Upstream connection was not closed for short chunked response. Igor Sysoev 2020-09-07 15:21:14 +03:00
  • df374057f7 Tests: $host varaible test. Andrei Zeliankou 2020-08-31 03:14:02 +01:00
  • 70c2a4645e Vars: added $host. Valentin Bartenev 2020-08-28 19:34:49 +03:00
  • d1bdaf98ba Tests: disable of language_deps. Tiago Natel de Moura 2020-08-25 15:27:51 +01:00
  • b65a8636bb Isolation: added "automount" option. Tiago Natel de Moura 2020-08-25 15:25:51 +01:00
  • 244ffb2829 Tests: PHP extension mounts. Tiago Natel de Moura 2020-08-25 13:48:33 +01:00
  • 30a242aa3c PHP: added bind mounts for extensions directory. Tiago Natel de Moura 2020-08-25 13:28:14 +01:00
  • dcfa92c161 Configuration: removed "reschedule_timeout" option. Valentin Bartenev 2020-08-21 20:50:04 +03:00
  • 10738c3fe2 Tests: default tmpfs in rootfs. Tiago Natel de Moura 2020-08-20 15:53:20 +01:00
  • 4ad8c5b898 Isolation: mount tmpfs by default. Tiago Natel de Moura 2020-08-20 15:44:29 +01:00
  • a8a7eeb1fc Moved isolation related code to "nxt_isolation.c". Tiago Natel de Moura 2020-08-20 15:22:58 +01:00
  • 9bf6efc55a Configuration: improved error message of invalid listener address. Valentin Bartenev 2020-08-19 15:36:57 +03:00
  • 7ffc617ae8 Supporting platforms without sendfile() implementation. Max Romanov 2020-08-17 12:28:48 +03:00
  • 4ac7a6f55f Style: changing preprocessor directives. Max Romanov 2020-08-17 12:28:40 +03:00
  • a13018fecb Version bump. Valentin Bartenev 2020-08-17 11:57:55 +03:00
  • 6473d4b65a Added tag 1.19.0 for changeset 86cdf66f8274 Valentin Bartenev 2020-08-13 19:22:57 +03:00
  • ba445d31f1 Generated Dockerfiles for Unit 1.19.0. Valentin Bartenev 2020-08-13 19:22:41 +03:00
  • b8c7bc5a47 Added version 1.19.0 CHANGES. Valentin Bartenev 2020-08-13 19:22:41 +03:00
  • 479fdff39d Tests: set root by unprivilaged user. Tiago Natel de Moura 2020-08-13 12:17:15 +01:00
  • 8032686a57 Tests: added test with error on loading application. Andrei Zeliankou 2020-08-13 13:17:27 +01:00
  • c40e45344f Tests: added variables tests. Andrei Zeliankou 2020-08-13 13:17:01 +01:00
  • b04b5ce430 Fixing router assertion in result of application prefork error. Max Romanov 2020-08-13 16:08:38 +03:00
  • b9ed3384cb Fixed error handling of prefork callback. Tiago Natel de Moura 2020-08-13 12:25:52 +01:00
  • a58f224e26 Fixed typo in return value check. Valentin Bartenev 2020-08-13 03:45:54 +03:00
  • 93146616cf Basic variables support. Valentin Bartenev 2020-08-13 02:46:54 +03:00
  • 21ac95f17e PHP: compatibility with 8.0.0 Beta 1. Remi Collet 2020-08-12 22:55:01 +03:00
  • 09685e2b41 Responding with error in case of first process start failure. Max Romanov 2020-08-12 15:25:29 +03:00
  • 2136eb411c Fixing issues found by static analyzer. Max Romanov 2020-08-12 13:37:49 +03:00
  • fd2c01c58f Fixing return value initialization. Max Romanov 2020-08-11 21:48:46 +03:00
  • f147943f63 Style fixes for 2 file descriptors transfer over port. Max Romanov 2020-08-11 21:48:27 +03:00
  • acb0cca49d Moving file descriptor blocking to libunit. Max Romanov 2020-08-11 21:48:16 +03:00
  • 8cf522bf2d Wrapping close() call in libunit for logging. Max Romanov 2020-08-11 19:20:36 +03:00
  • e227fc9e62 Introducing application and port shared memory queues. Max Romanov 2020-08-11 19:20:34 +03:00
  • a82cf4ffb6 Circular queues implementations and a test. Max Romanov 2020-08-11 19:20:32 +03:00
  • a1e9df2aef Port message extended to transfer 2 file descriptors. Max Romanov 2020-08-11 19:20:30 +03:00
  • 72475ee11c Made router port message handlers into static functions. Max Romanov 2020-08-11 19:20:28 +03:00
  • 496f41c134 Tests: reducing the number of generated applications. Max Romanov 2020-08-11 19:20:25 +03:00
  • bab4a9e9f2 Tests: skipping idle zero timeout. Max Romanov 2020-08-11 19:20:23 +03:00
  • f4a118f84a Adding debug messages to catch process management issues. Max Romanov 2020-08-11 19:20:20 +03:00
  • 2f3d27fa22 Process structures refactoring in runtime and libunit. Max Romanov 2020-08-11 19:20:17 +03:00
  • 8359560612 Introducing the shared application port. Max Romanov 2020-08-11 19:20:15 +03:00
  • 6e31d6cd39 Changing router to application shared memory exchange protocol. Max Romanov 2020-08-11 19:20:13 +03:00
  • 3cbc22a6dc Changing router to application port exchange protocol. Max Romanov 2020-08-11 19:20:10 +03:00
  • bf647588ff Adding a reference counter to the libunit port structure. Max Romanov 2020-08-11 19:20:06 +03:00
  • ec3389b63b Libunit refactoring: port management. Max Romanov 2020-08-11 19:19:55 +03:00
  • 3a721e1d96 Fixing leaked configuration objects. Max Romanov 2020-08-09 10:26:19 +03:00
  • 0f3abebd01 Fixing connection remote sockaddr leakage. Max Romanov 2020-08-09 10:22:05 +03:00
  • 91280b4c0b Ruby: fixed gem mount paths. Valentin Bartenev 2020-08-09 01:00:44 +03:00
  • 317fabc83e Ruby: simplified commands in ./configure script. Valentin Bartenev 2020-08-09 01:00:44 +03:00
  • 7e1d800f08 Ruby: removed unused variable from ./configure script. Valentin Bartenev 2020-08-09 01:00:44 +03:00
  • 0d7a6885a3 Configure: verifying the Ruby library path. Valentin Bartenev 2020-08-08 23:52:31 +03:00
  • 375cbc2cc4 Node.js: correct port data memory release. Max Romanov 2020-08-07 15:06:24 +03:00
  • 78fd04adcf Fixing listen event connection leakage. Max Romanov 2020-08-07 15:06:18 +03:00
  • b0ff245ca8 Improved mkstemp() error reporting. Valentin Bartenev 2020-08-05 16:11:20 +03:00
  • 2b53c7bbbd Fixed nxt_conn_accept_alloc() behavior in low memory conditions. Valentin Bartenev 2020-08-05 14:55:34 +03:00
  • b28b4459b0 Isolation: fixed the generation of mounts table. Tiago Natel de Moura 2020-07-31 12:21:21 +01:00
  • f3471c29c0 PHP: fixed version comparison in configure script. Tiago Natel de Moura 2020-07-28 16:17:18 +01:00
  • c3e6901f53 Configuration: fixed buffer over-read in pattern validation. Axel Duch 2020-07-28 14:51:33 +01:00
  • f1e445bdef Tests: added PHP test with time check in error log messages. Andrei Zeliankou 2020-07-28 04:53:40 +01:00
  • 355ed9697d Tests: fixed double stop() call for some tests. Andrei Zeliankou 2020-07-28 04:53:32 +01:00
  • dc1377dc48 Tests: style. Andrei Zeliankou 2020-07-28 03:09:50 +01:00
  • c617480eef Using plain shared memory for configuration pass. Max Romanov 2020-07-25 11:06:32 +03:00
  • 10f90f0d48 Configuration: added checking for presence of mandatory fields. Valentin Bartenev 2020-07-24 20:25:20 +03:00
  • 2a71a8a9f4 Added missing ending indicator in object members validation lists. Valentin Bartenev 2020-07-24 20:25:15 +03:00
  • 29cf3cc6c1 Configuration: removing redundant check. Axel Duch 2020-07-24 17:10:26 +01:00
  • 85a1e083af Minor changes and renaming an NJS artifact to NXT. Axel Duch 2020-07-24 13:10:24 +01:00
  • 762511c510 Fixing request_app_link reference counting. Max Romanov 2020-07-23 14:25:46 +03:00
  • 9641fb0ef1 Fixing various router crashes on exit caused by runtime pool free. Max Romanov 2020-07-23 14:25:21 +03:00
  • d3c8d62280 PHP: using nxt_unit_default_init() for module structure init. Max Romanov 2020-07-23 14:25:12 +03:00
  • 137c1e736f Fixing main and application port structs file descriptor init. Max Romanov 2020-07-23 14:24:55 +03:00
  • fa696569f9 PHP: removing assertion to fix build on macOS. Max Romanov 2020-07-23 14:24:16 +03:00
  • 661c223eda Tests: switching stdout to blocking before printing log. Max Romanov 2020-07-22 10:05:10 +03:00
  • ef71948196 Fixing buffer overflow check in discovery. Max Romanov 2020-07-22 10:04:57 +03:00
  • d86e0a7aec PHP: logging in request context when possible. Valentin Bartenev 2020-07-21 20:27:37 +03:00