/unit/src/nodejs/unit-http/ |
H A D | websocket_request.js | 1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
|
H A D | websocket_connection.js | 1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
|
/unit/src/wasm-wasi-component/ |
H A D | Cargo.lock | 2685:9b3cf45d67cb Tue Feb 20 14:43:00 UTC 2024 Andrew Clayton <a.clayton@nginx.com> Wasm-wc: Add Cargo.lock
It seems we do want to track this thing. This is just the latest version that cargo had generated for me.
Cc: Dan Callahan <d.callahan@f5.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
/unit/test/ |
H A D | test_http_header.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 2073:bc6ad31ce286 Mon Apr 11 20:05:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: style. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style. diff 1017:887a4bbabf1e Tue Mar 26 20:38:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: style. diff 948:207212a0b125 Wed Feb 20 17:24:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: removed test_http_header_transfer_encoding_chunked.
|
H A D | test_upstreams_rr.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 2073:bc6ad31ce286 Mon Apr 11 20:05:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: style. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
|
H A D | test_respawn.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 2073:bc6ad31ce286 Mon Apr 11 20:05:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: style. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
|
H A D | test_php_isolation.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 1673:883f2f79c2f6 Thu Oct 29 20:30:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mounting of procfs by default when using "rootfs". 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_forwarded_header.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. 2134:f576f11a58b4 Mon Jun 20 09:19:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Tests: forwarded header replacement tests.
|
H A D | test_client_ip.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 2171:20f712007059 Mon Aug 08 09:32:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests with UNIX sockets in "source". diff 2130:638b03fe73f0 Mon Jun 20 05:58:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Tests: reworked client IP tests.
|
/unit/src/ |
H A D | nxt_var.h | diff 2247:baa6b9879267 Sun Nov 20 15:16:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Basic njs support. diff 2246:5f4056478375 Sun Nov 20 15:15:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Var: separating nxt_tstr_t from nxt_var_t.
It's for the introduction of njs support. For each option that supports native variable and JS template literals introduced next, it's unified as template string.
No functional changes. diff 2232:1fb2182a4d03 Wed Nov 02 20:45:00 UTC 2022 Alejandro Colomar <alx@nginx.com> Removed the unsafe nxt_memchr() wrapper for memchr(3).
The casts are unnecessary, since memchr(3)'s argument is 'const void *'. It might have been necessary in the times of K&R, where 'void *' didn't exist. Nowadays, it's unnecessary, and _very_ unsafe, since casts can hide all classes of bugs by silencing most compiler warnings.
The changes from nxt_memchr() to memchr(3) were scripted:
$ find src/ -type f \ | grep '\.[ch]$' \ | xargs sed -i 's/nxt_memchr/memchr/'
Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com> diff 2147:7bf58b1b18c4 Wed Jul 13 20:32:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Var: dynamic variables support.
This commit adds the variables $arg_NAME, $header_NAME, and $cookie_NAME.
|
H A D | nxt_router_access_log.c | diff 2247:baa6b9879267 Sun Nov 20 15:16:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Basic njs support. diff 2246:5f4056478375 Sun Nov 20 15:15:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Var: separating nxt_tstr_t from nxt_var_t.
It's for the introduction of njs support. For each option that supports native variable and JS template literals introduced next, it's unified as template string.
No functional changes.
|
H A D | nxt_parse.c | diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes.
|
H A D | nxt_unit_typedefs.h | diff 1131:ec7d924d8dfb Tue Aug 20 13:31:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Introducing websocket support in router and libunit.
|
H A D | nxt_unit.h | diff 1623:7cdddbe0fb45 Thu Oct 01 20:55:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Publishing libunit's malloc() and free() wrappers for apps. diff 1555:1d84b9e4b459 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing application and port shared memory queues.
The goal is to minimize the number of syscalls needed to deliver a message. diff 1547:cbcd76704c90 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing the shared application port.
This is the port shared between all application processes which use it to pass requests for processing. Using it significantly simplifies the request processing code in the router. The drawback is 2 more file descriptors per each configured application and more complex libunit message wait/read code. diff 1546:06017e6e3a5f Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Changing router to application shared memory exchange protocol.
The application process needs to request the shared memory segment from the router instead of the latter pushing the segment before sending a request to the application. This is required to simplify the communication between the router and the application and to prepare the router for using the application shared port and then the queue. diff 1545:78836321a126 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Changing router to application port exchange protocol.
The application process needs to request the port from the router instead of the latter pushing the port before sending a request to the application. This is required to simplify the communication between the router and the application and to prepare the router to use the application shared port and then the queue. diff 1544:05af370e63b7 Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Adding a reference counter to the libunit port structure.
The goal is to minimize the number of (pid, id) to port hash lookups which require a library mutex lock. The response port is found once per request, while the read port is initialized at startup. diff 1131:ec7d924d8dfb Tue Aug 20 13:31:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Introducing websocket support in router and libunit.
|
H A D | nxt_process_title.c | diff 20:4dc92b438f58 Thu Mar 09 15:03:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Processes refactoring. The cycle has been renamed to the runtime.
|
H A D | nxt_cyassl.c | diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
H A D | nxt_conn_proxy.c | diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
|
/unit/ |
H A D | .mailmap | diff 2664:c6889773b191 Tue Feb 20 00:57:00 UTC 2024 Andrew Clayton <a.clayton@nginx.com> .mailmap: Map some more personal addresses
Add more entries for Andrei and Konstantin and an entry for Dan.
Reviewed-by: Dan Callahan <d.callahan@f5.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com> diff 2473:743741e00a16 Sat May 20 19:37:00 UTC 2023 Alejandro Colomar <alx@nginx.com> Using names in .mailmap.
In this case, Andrew always committed under the same name, so it's not strictly necessary.
This is for consistency, so that it's clearer whose is an email address. It also makes it easier to sort the names alphabetically.
Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com> diff 2472:3f68ff1c058a Sat May 20 19:35:00 UTC 2023 Alejandro Colomar <alx@nginx.com> Added Alex to .mailmap.
Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com> 2206:3453dbe2d665 Thu Sep 22 20:21:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Added a .mailmap file.
This file is used by git (maybe also hg) to map different identities.
It can be used to map different names/email addresses to a preferred name/email. So if you have authored/committed under different names/email addresses you can map all these to a particular name/email. Certain git commands (log, shortlog, show, blame etc) will consult this file and show the Author/Committer accordingly.
Note: This does _not_ change history, this is simply used by various commands to alter their output and can be disabled for some commands with the --no-mailmap option.
This can be useful for commands like git shortlog so that all your commits are shown under a single identity and also so people have an up to date email address should they wish to contact you. And just for overall consistency.
Seeing as I've already committed under two different email addresses (not counting this one), I've put entries in this file to map my email addresses to my @nginx.com one.
See also, gitmailmap(5).
Acked-by: Alex Colomar <alx@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
/unit/test/python/mirror/ |
H A D | wsgi.py | 552:2e4ea9cc507e Tue Feb 20 17:34:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: reworked python tests with application.
|
/unit/test/unit/applications/lang/ |
H A D | node.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1477:b93d1acf81bd Fri May 15 03:20:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: style. diff 1293:40251b822c85 Sat Nov 09 20:14:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: fixed tests to run as root.
- The mode of testdir was changed to allow reading from other users/groups. - The java multipart test now uploads the file into an app writable dir. - The build directory was made readable for other users. - The python environment test now uses the HOME env var instead of PWD because the latter is not set by the root shell (/bin/sh) by default. - The node `node_modules` directory now is copied into the `testdir` instead of using symlinks. diff 1041:9bdd46610ea9 Mon Apr 22 15:20:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Tests: using "pass" option instead of deprecated "application".
|
H A D | perl.py | diff 2491:aae60837ac20 Wed Jun 14 17:20:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Tests: get rid of classes in test files.
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable. diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest. diff 1041:9bdd46610ea9 Mon Apr 22 15:20:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Tests: using "pass" option instead of deprecated "application".
|
/unit/pkg/docker/ |
H A D | Dockerfile.php8.2 | diff 2665:5502438d2215 Tue Feb 20 00:56:00 UTC 2024 Dan Callahan <d.callahan@f5.com> Docker: Update versions of Go, Node, PHP, Ruby
- Go: Drop 1.20, Add 1.22 - Node: Drop 18, Add 21 - PHP: Add 8.3 - Ruby: Add 3.3
Perl and Python are still up-to-date with upstream releases
Regenerating the Dockerfiles also picks up the logging change from 183a1e9d634ae2fb129ce98f1ca8a16cbfdeac99 diff 2457:273c9d80ca98 Wed May 10 03:20:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated dockerfiles. diff 2423:ccf9f61930cb Tue Apr 11 00:20:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated Dockerfiles. 2394:9b85367ed09e Tue Mar 28 20:42:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated Dockerfiles.
|
H A D | Dockerfile.ruby3.2 | diff 2665:5502438d2215 Tue Feb 20 00:56:00 UTC 2024 Dan Callahan <d.callahan@f5.com> Docker: Update versions of Go, Node, PHP, Ruby
- Go: Drop 1.20, Add 1.22 - Node: Drop 18, Add 21 - PHP: Add 8.3 - Ruby: Add 3.3
Perl and Python are still up-to-date with upstream releases
Regenerating the Dockerfiles also picks up the logging change from 183a1e9d634ae2fb129ce98f1ca8a16cbfdeac99 diff 2457:273c9d80ca98 Wed May 10 03:20:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated dockerfiles. diff 2423:ccf9f61930cb Tue Apr 11 00:20:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated Dockerfiles. 2394:9b85367ed09e Tue Mar 28 20:42:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> Regenerated Dockerfiles.
|
/unit/src/python/ |
H A D | nxt_python.h | diff 1918:b15674b9a39a Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: using default event_loop for main thread for ASGI.
Unit's ASGI implementation creates a new event loop to run an application for each thread since 542b5b8c0647. This may cause unexpected exceptions or strange bugs if asyncio synchronisation primitives are initialised before the application starts (e.g. globally).
Although the approach with a new event loop for the main thread is consistent and helps to prepare the application to run in multiple threads, it can be a source of pain for people who just want to run single-threaded ASGI applications in Unit.
This is related to #560 issue on GitHub. diff 1872:9f8df8b810e0 Thu May 20 13:02:00 UTC 2021 Oisin Canty <o.canty@f5.com> Python: support for multiple targets. diff 1624:e46b1b422545 Thu Oct 01 20:55:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: ASGI server introduced.
This closes #461 issue on GitHub.
|
/unit/src/test/ |
H A D | nxt_cq_test.c | 1554:8f22edff911d Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Circular queues implementations and a test.
- naive circular queue, described in the article "A Scalable, Portable, and Memory-Efficient Lock-Free FIFO Queue" by Ruslan Nikolaev: https://drops.dagstuhl.de/opus/volltexte/2019/11335/pdf/LIPIcs-DISC-2019-28.pdf - circular queue, proposed by Valentin Bartenev in the "Unit router application IPC" design draft
|