/unit/src/ |
H A D | nxt_openssl.c | diff 2617:18a10bb7346d Tue Jan 16 15:37:00 UTC 2024 Andrei Zeliankou <zelenkov@nginx.com> White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062> diff 2224:478701bc6706 Thu Nov 18 16:47:00 UTC 2021 Remi Collet <remi@remirepo.net> TLS: Using ERR_get_error_all() with OpenSSL 3.
Link: <https://www.openssl.org/docs/man3.0/man7/migration_guide.html> Cc: Andy Postnikov <apostnikov@gmail.com> Cc: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Remi Collet <remi@remirepo.net> Signed-off-by: Alejandro Colomar <alx@nginx.com> diff 2223:1019031754fe Wed Jan 16 07:38:00 UTC 2019 Remi Collet <remi@remirepo.net> Preferring system crypto policy.
If we don't call SSL_CTX_set_cipher_list(), then it uses the system's default.
Link: <https://fedoraproject.org/wiki/Changes/CryptoPolicy> Link: <https://docs.fedoraproject.org/en-US/packaging-guidelines/CryptoPolicies/> Link: <https://www.redhat.com/en/blog/consistent-security-crypto-policies-red-hat-enterprise-linux-8> Signed-off-by: Remi Collet <remi@remirepo.net> Acked-by: Andrei Belov <defan@nginx.com> [ alx: add changelog and tweak commit message ] Signed-off-by: Alejandro Colomar <alx@nginx.com> diff 836:ecd3c5bbf7d8 Tue Nov 13 16:04:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Checking error states in I/O handlers. diff 808:a148b7d3942c Mon Oct 22 13:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Compatibility with LibreSSL.
LibreSSL uses high OPENSSL_VERSION_NUMBER, but has no SSL_CTX_add0_chain_cert(). diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation. diff 1:fdc027c56872 Mon Jan 23 16:56:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Introducing tasks.
|
/unit/src/nodejs/unit-http/ |
H A D | websocket_connection.js | diff 2617:18a10bb7346d Tue Jan 16 15:37:00 UTC 2024 Andrei Zeliankou <zelenkov@nginx.com> White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062>
|
/unit/src/java/nginx/unit/websocket/ |
H A D | Util.java | diff 2617:18a10bb7346d Tue Jan 16 15:37:00 UTC 2024 Andrei Zeliankou <zelenkov@nginx.com> White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062>
|
/unit/auto/cc/ |
H A D | deps | diff 2617:18a10bb7346d Tue Jan 16 15:37:00 UTC 2024 Andrei Zeliankou <zelenkov@nginx.com> White space formatting fixes
Closes: <https://github.com/nginx/unit/pull/1062>
|
/unit/test/unit/ |
H A D | http.py | diff 1741:8c05e9ddbffb Wed Dec 09 16:17:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: TestUnit class removed.
Prerequisite checks moved to the fixture in conftest.py. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1706:a1da56837554 Mon Nov 16 17:37:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1296:77f76e7b800f Tue Nov 26 16:00:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added getjson() helper.
|
H A D | control.py | diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
/unit/test/unit/check/ |
H A D | check_prerequisites.py | 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | isolation.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. 1740:53149d20bb97 Wed Dec 09 16:15:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: isolation check moved to the pytest_sessionstart().
This change eliminates the need for some classes to run Unit one more time before running tests.
|
H A D | node.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
/unit/test/unit/applications/ |
H A D | tls.py | diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
H A D | websockets.py | diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
/unit/test/unit/applications/lang/ |
H A D | python.py | diff 1926:6e85d6c0b8bb Thu Jul 29 16:50:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Application restart introduced.
When processing a restart request, the router sends a QUIT message to all existing processes of the application. Then, a new shared application port is created to ensure that new requests won't be handled by the old processes of the application. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1610:ee2f7cc0f36c Tue Sep 22 16:53:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: introduced module name configuration.
Also fixed problem with "/" in application name. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
H A D | go.py | diff 2263:f9f47ce86315 Mon Dec 12 16:24:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: pretty output.
Hide expected alerts by default. Silence succesfull "go build" information. diff 1880:00dc6b211906 Tue May 25 15:00:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Go: fixing tests for Go 1.16.
In Go 1.16, the module-aware mode is enabled by default; to fall back to previous behavior, the GO111MODULE environment variable should be set to 'auto'.
Details: https://golang.org/doc/go1.16 diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1706:a1da56837554 Mon Nov 16 17:37:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1208:220272baa960 Wed Sep 25 16:21:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: fixed hanging of Go tests.
This closes #319 issue on GitHub. diff 1164:2b4032299741 Mon Sep 16 12:37:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: prepare_env() introduced.
|
H A D | php.py | diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
/unit/test/ |
H A D | test_usr1.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 1850:839024ce4a6a Thu Apr 08 16:11:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Tests: preserving unit.log when run without restart.
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
H A D | test_tls_sni.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | test_upstreams_rr.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
H A D | test_static_variables.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | test_tls.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 1863:98a5801c01ba Fri May 07 16:42:00 UTC 2021 Andrei Zeliankou <zelenkov@nginx.com> Tests: added test for TLS with empty Subject field. diff 1850:839024ce4a6a Thu Apr 08 16:11:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Tests: preserving unit.log when run without restart.
Introducing "unit.log.Log" class for "unit.log" file management. Moving "findall()" function into TestApplicationProto. Using "os.kill()" to send signals. diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1706:a1da56837554 Mon Nov 16 17:37:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: fixing tests interrupt in terminal.
KeyboardInterrupt re-raised. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 970:2f4376c8f358 Wed Feb 27 16:15:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: added "Host" and "Connetion" headers where necessary.
Also minor header organizing.
|
H A D | test_tls_conf_command.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | test_static_symlink.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | test_static_types.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
|
H A D | test_variables.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 2157:6b6ac75272b5 Tue Jul 19 16:34:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests for more HTTP variables. diff 1928:ae4f067a9ea4 Sun Aug 01 16:30:00 UTC 2021 Zhidao HONG <z.hong@f5.com> Router: fixed segmentation fault.
In the case that routes or upstreams is empty and the pass option is a variable. If the resolved pass is routes or upstreams, a segment error occurred. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
|
H A D | test_settings.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 971:7098b3ba25fd Wed Feb 27 16:43:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: read_timeout option introduced.
Also, increased default select() timeout from 1s to 5s. diff 970:2f4376c8f358 Wed Feb 27 16:15:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: added "Host" and "Connetion" headers where necessary.
Also minor header organizing. diff 767:31390ed4c36d Mon Sep 17 16:07:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: test_settings_header_read_timeout_update adjusted.
|
H A D | test_routing.py | diff 2488:55440e02a873 Mon Jun 12 13:16:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: prerequisites checking reworked.
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check. diff 1930:fb8b29aac7a1 Thu Aug 05 16:00:00 UTC 2021 Oisin Canty <o.canty@f5.com> Router: fixed crash when matching an empty address pattern array.
A crash would occur when the router tried to match an against an empty address pattern array.
The following configuration was used to reproduce the issue:
{ "listeners": { "127.0.0.1:8082": { "pass": "routes" } }, "routes": [ { "match": { "source": [] }, "action": { "return": 200 } } ] } diff 1730:44912af5b3e6 Sun Dec 06 16:01:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: options moved to the separate class.
This change is necessary to separate the logic and prevent possible circular dependency. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. 972:77f134858092 Wed Feb 27 16:46:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: routing.
|