Home
last modified time | relevance | path

Searched hist:14 (Results 151 – 175 of 448) sorted by relevance

12345678910>>...18

/unit/src/
H A Dnxt_cyassl.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_socketpair.cdiff 1008:84f2370bd642 Mon Mar 11 14:31:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Style.
diff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
H A Dnxt_main.hdiff 2175:e83cff38d672 Wed Aug 03 12:42:00 UTC 2022 Alejandro Colomar <alx.manpages@gmail.com> Removed dead code.

nxt_sockaddr_ntop() stopped being used in commit (git) 029942f4eb71.
It has been replaced mostly by nxt_sockaddr_text().

commit 029942f4eb7196c2cff0d0e26bc6ff274138f7d8
Author: Igor Sysoev <igor@sysoev.ru>
Date: Wed Feb 22 15:09:59 2017 +0300

I/O operations refactoring.

nxt_job_sockaddr_parse() stopped being used in commit (git) 794248090a74.

commit 794248090a74f31cbfcf24ea8c835df2d4d21073
Author: Igor Sysoev <igor@sysoev.ru>
Date: Wed Mar 4 14:04:08 2020 +0300

Legacy upstream code removed.

Also, remove functions and types used only by those two functions:

nxt_job_sockaddr_unix_parse()
nxt_job_sockaddr_inet6_parse()
nxt_job_sockaddr_inet_parse()
nxt_job_sockaddr_parse_t
nxt_job_resolve()
nxt_job_resolve_t
diff 919:cf356c56a232 Thu Feb 07 14:42:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Version bump.
diff 673:9fa79c719a17 Mon May 21 13:14:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Added SERVER_SOFTWARE request meta-variable.
diff 604:0a81127b9a0c Mon Apr 02 14:42:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Version bump.
diff 375:de6b3c2778a0 Fri Oct 20 14:48:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Version bump.
diff 364:742e5c203c6d Thu Oct 19 14:36:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Supporting concurrent shared memory fd receive in router.

Two different router threads may send different requests to single
application worker. In this case shared memory fds from worker
to router will be send over 2 different router ports. These fds
will be received and processed by different threads in any order.

This patch made possible to add incoming shared memory segments in
arbitrary order. Additionally, array and memory pool are no longer
used to store segments because of pool's single threaded nature.

Custom array-like structure nxt_port_mmaps_t introduced.
diff 339:daecd866ae3b Mon Oct 02 14:10:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Version bump.
diff 223:bf98efe2c55c Thu Aug 24 14:43:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Removed configure option --no-threads.
diff 221:924c70e5fd1f Thu Aug 24 14:29:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Added command line option --version.
diff 190:0dbd1ceae3a2 Wed Aug 02 10:14:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Port RPC interface introduced.

Usage:
1. Register handlers in incoming port with nxt_port_rpc_register_handler().
2. Use return value as a stream identifier for next nxt_port_socket_write().
H A Dnxt_conn_accept.cdiff 564:762f8c976ead Mon Mar 05 14:32:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Reduced number of critical log levels.
diff 312:c156aea91063 Thu Sep 14 15:16:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed textual socket name lengths and Unix domain sockaddr length.
62:5e1efcc7b740 Wed Jun 14 12:18:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
H A Dnxt_port_memory_int.hdiff 423:449f2a9c5e62 Wed Dec 27 14:46:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Implementing the ability to cancel request before worker starts processing it.
diff 365:28b2a468be43 Thu Oct 19 14:37:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Introducing mmap_handler to count references to shared memory.


"All problems in computer science can be
solved by another level of indirection"

Butler Lampson

Completion handlers for application response buffers executed after
sending the data to client. Application worker can be stopped right
after send response buffers to router. Worker stop causes removal
of all data structures for the worker.

To prevent shared memory segment unmap, need to count the number of
buffers which uses it. So instead of direct reference to shared
memory, need to reference to intermediate 'handler' structure with
use counter and pointer to shared memory.
diff 363:0738690e6557 Thu Oct 19 14:36:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Introducing src_pid for mmap header for accurate buf completion.

This allows to use shared memory to communicate with main process.

This patch changes shared memory segment format and breaks compatibility
with older modules.
diff 323:95379c881deb Mon Sep 18 14:35:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Fixing shared memory thread safety issue.

Do not reuse shared memory segment with different port until this segment
successfully received and indexed on other side. However, segment can be used
to transfer data via the port it was sent at any time.
H A Dnxt_runtime.hdiff 1403:1cee885b7f10 Thu Mar 12 14:54:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Using disk file to store large request body.

This closes #386 on GitHub.
diff 743:e0f0cd7d244a Mon Aug 06 14:27:00 UTC 2018 Max Romanov <max.romanov@nginx.com> Unit application library.

Library now used in all language modules.
Old 'nxt_app_*' code removed.

See src/test/nxt_unit_app_test.c for usage sample.
diff 697:b73f6d3709c2 Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Fixed exit status on start failure.

This and previous commit close #131 issue on GitHub.
diff 697:b73f6d3709c2 Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Fixed exit status on start failure.

This and previous commit close #131 issue on GitHub.
diff 696:9476693a47bd Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Removing Unix control socket on start failure.

The bug had appeared in 5cc5002a788e when process type has been
converted to bitmask. This commit reverts the type back to a number.

This commit is related to #131 issue on GitHub.
diff 696:9476693a47bd Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Removing Unix control socket on start failure.

The bug had appeared in 5cc5002a788e when process type has been
converted to bitmask. This commit reverts the type back to a number.

This commit is related to #131 issue on GitHub.
diff 695:300072a70e40 Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Removed unused single process type.
diff 695:300072a70e40 Mon Jun 18 14:14:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Removed unused single process type.
diff 223:bf98efe2c55c Thu Aug 24 14:43:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Removed configure option --no-threads.
diff 220:3b86550821c5 Thu Aug 24 14:29:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Removed command line option --workers.
/unit/test/python/ctx_iter_atexit/
H A Dwsgi.py602:3b36a1d5b47b Mon Apr 02 14:03:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: added Python test with iterator context.
/unit/test/
H A Dtest_go_application.pydiff 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 1775:4b4991514356 Thu Jan 14 03:04:00 UTC 2021 Andrei Zeliankou <zelenkov@nginx.com> Tests: added missing checks for configuration results.
diff 1453:71af60a59338 Tue Apr 14 01:35:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: minor fixes and style.
diff 1165:998b521bbdb8 Sat Sep 14 11:44:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: refactored prerequisites model.
diff 1025:3469f5185562 Tue Apr 09 13:14:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: simplified module checking.
H A Dtest_configuration.pydiff 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 2273:a13c26f62477 Sun Nov 14 15:47:00 UTC 2021 OutOfFocus4 <jeff.iadarola@gmail.com> Python: Added "prefix" to configuration.

This patch gives users the option to set a `"prefix"` attribute
for Python applications, either at the top level or for specific
`"target"`s. If the attribute is present, the value of `"prefix"`
must be a string beginning with `"/"`. If the value of the `"prefix"`
attribute is longer than 1 character and ends in `"/"`, the
trailing `"/"` is stripped.

The purpose of the `"prefix"` attribute is to set the `SCRIPT_NAME`
context value for WSGI applications and the `root_path` context
value for ASGI applications, allowing applications to properly route
requests regardless of the path that the server uses to expose the
application.

The context value is only set if the request's URL path begins with
the value of the `"prefix"` attribute. In all other cases, the
`SCRIPT_NAME` or `root_path` values are not set. In addition, for
WSGI applications, the value of `"prefix"` will be stripped from
the beginning of the request's URL path before it is sent to the
application.

Reviewed-by: Andrei Zeliankou <zelenkov@nginx.com>
Reviewed-by: Artem Konev <artem.konev@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
diff 2182:55860ad40a93 Thu Aug 25 14:50:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: added tests with abstract UNIX sockets.
diff 1736:22db875fda34 Tue Dec 08 14:37:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: skip_alert() converted to the fixture.
diff 1165:998b521bbdb8 Sat Sep 14 11:44:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: refactored prerequisites model.
diff 1025:3469f5185562 Tue Apr 09 13:14:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: simplified module checking.
diff 917:f86c2e0f8cd5 Mon Jan 28 14:17:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: large configuration tests.
diff 550:ce9e85f49c02 Wed Feb 14 14:14:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: removed unused code in unit.py.
diff 550:ce9e85f49c02 Wed Feb 14 14:14:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: removed unused code in unit.py.
diff 550:ce9e85f49c02 Wed Feb 14 14:14:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: removed unused code in unit.py.
/unit/src/nodejs/unit-http/
H A Dhttp.jsdiff 2642:d92e92c69c5d Wed Feb 14 18:16:00 UTC 2024 Gabor Javorszky <g.javorszky@f5.com> fix: Take options as well as requestListener (#1091)

* Take options as well as requestListener

Unit-http have not kept up with the signature of nodejs's http package
development. Nodejs allows an optional `options` object to be passed to
the `createServer` function, we didn't. This resulted in function
signature errors when user code that did make use of the options arg
tried to call unit's replaced function.

This change changes the signature to be more in line with how nodejs
does it discarding it and printing a message to stdout.

* Add test file to start node application with options

* Add changes to docs/changes.xml

Closes: https://github.com/nginx/unit/issues/1043
802:fb9a6392d04a Wed Oct 03 14:50:00 UTC 2018 Alexander Borisov <alexander.borisov@nginx.com> Added Node.js support.
H A DREADME.md802:fb9a6392d04a Wed Oct 03 14:50:00 UTC 2018 Alexander Borisov <alexander.borisov@nginx.com> Added Node.js support.
/unit/pkg/deb/
H A DMakefile.python37diff 1225:0f35b3937026 Thu Oct 03 14:46:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch.
H A DMakefilediff 2138:8223904cc4bb Mon Jun 20 14:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: cleanup targets that are not supported anymore.
diff 2010:1613ff17671d Thu Nov 18 14:04:00 UTC 2021 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1894:5c7ce0da580e Thu May 27 14:03:00 UTC 2021 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1837:ad6aad2450c2 Thu Mar 25 14:32:00 UTC 2021 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1403:1cee885b7f10 Thu Mar 12 14:54:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Using disk file to store large request body.

This closes #386 on GitHub.
diff 1333:7b483cf5cb09 Thu Dec 26 14:52:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1316:5b767c6bfd0a Tue Dec 24 14:59:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Go: moving source files to the root of the project.

This patch includes packaging changes related to files move.
diff 1314:773f7e903f02 Tue Dec 24 14:59:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Packages: making unit-go architecture independent.

To support Go modules, the unit-go module should be platform independent.
All platform-dependent logic is moved to libunit, so the unit-dev package
should be installed before building unit-go.
diff 1225:0f35b3937026 Thu Oct 03 14:46:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 821:b2fbe135c737 Thu Oct 25 14:49:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Packages: updated to 1.5-1.
/unit/test/python/iter_exception/
H A Dwsgi.py1283:e7d0b112241e Thu Nov 14 15:46:00 UTC 2019 Andrei Zeliankou <zelenkov@nginx.com> Tests: Python exception tests.
/unit/src/python/
H A Dnxt_python.hdiff 2273:a13c26f62477 Sun Nov 14 15:47:00 UTC 2021 OutOfFocus4 <jeff.iadarola@gmail.com> Python: Added "prefix" to configuration.

This patch gives users the option to set a `"prefix"` attribute
for Python applications, either at the top level or for specific
`"target"`s. If the attribute is present, the value of `"prefix"`
must be a string beginning with `"/"`. If the value of the `"prefix"`
attribute is longer than 1 character and ends in `"/"`, the
trailing `"/"` is stripped.

The purpose of the `"prefix"` attribute is to set the `SCRIPT_NAME`
context value for WSGI applications and the `root_path` context
value for ASGI applications, allowing applications to properly route
requests regardless of the path that the server uses to expose the
application.

The context value is only set if the request's URL path begins with
the value of the `"prefix"` attribute. In all other cases, the
`SCRIPT_NAME` or `root_path` values are not set. In addition, for
WSGI applications, the value of `"prefix"` will be stripped from
the beginning of the request's URL path before it is sent to the
application.

Reviewed-by: Andrei Zeliankou <zelenkov@nginx.com>
Reviewed-by: Artem Konev <artem.konev@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
diff 1980:43553aa72111 Thu Oct 28 14:46:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Moving request limit control to libunit.

Introducting application graceful stop. For now only used when application
process reach request limit value.

This closes #585 issue on GitHub.
1592:9727c9b61f1c Mon Sep 14 10:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: split module initialization from WSGI implementation.

This is required for futher ASGI implementation.
/unit/test/unit/applications/lang/
H A Dperl.pydiff 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 1303:248eeec4c272 Mon Nov 11 14:35:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added support for testing "user" and "group".
diff 1050:5b9ec6a8ae06 Fri Apr 26 14:35:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: check application configuration loading.
H A Dgo.pydiff 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 1315:e39345dacb8f Tue Dec 24 14:59:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Go: installing go module for tests into build directory.
diff 1303:248eeec4c272 Mon Nov 11 14:35:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added support for testing "user" and "group".
diff 1165:998b521bbdb8 Sat Sep 14 11:44:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: refactored prerequisites model.
diff 1050:5b9ec6a8ae06 Fri Apr 26 14:35:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: check application configuration loading.
H A Djava.pydiff 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 2271:ccaca37def87 Wed Dec 14 01:43:00 UTC 2022 "Sergey A. Osokin" <osa@FreeBSD.org.ru> Java: upgrading third-party components.
diff 1931:747666e4bec3 Mon Aug 09 07:14:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Java: upgrading third-party components.
diff 1816:91b04f5068f5 Mon Mar 22 14:15:00 UTC 2021 "Sergey A. Osokin" <osa@FreeBSD.org.ru> Java: upgrading third-party components.
diff 1303:248eeec4c272 Mon Nov 11 14:35:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added support for testing "user" and "group".
diff 1050:5b9ec6a8ae06 Fri Apr 26 14:35:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: check application configuration loading.
/unit/auto/
H A Dnjsdiff 2253:1b0b27c7636f Tue Nov 29 14:10:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Used pkg-config to detect njs where available.
/unit/test/python/user_group/
H A Dwsgi.py1304:5b67d67b4997 Mon Nov 11 14:36:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Tests: added tests for setting user and group.
/unit/src/java/
H A Dnxt_jni_InputStream.cdiff 1398:05063d6eec8e Thu Mar 12 14:54:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Introducing readline function in libunit.

Ruby and Java modules now use this function instead of own
implementations.
/unit/pkg/deb/debian.module/
H A Dunit.example-perl-config524:7eef37b824b3 Wed Feb 07 14:26:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: added Perl package.
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-perl-config524:7eef37b824b3 Wed Feb 07 14:26:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: added Perl package.
/unit/test/python/input_readline_size/
H A Dwsgi.py1400:cbd75efbfb74 Thu Mar 12 14:54:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Tests: added Python input readline and iterator tests.
/unit/pkg/rpm/
H A DMakefile.phpdiff 1225:0f35b3937026 Thu Oct 03 14:46:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 821:b2fbe135c737 Thu Oct 25 14:49:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Packages: updated to 1.5-1.

12345678910>>...18