Home
last modified time | relevance | path

Searched hist:16 (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/unit/pkg/rpm/
H A DMakefile.jsc8diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.

Now the configure script appends /server to --lib-path argument.
diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch.
diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.

This helps to avoid using excessive strictness in RPATH of Java modules.
diff 989:536ccd99d2e3 Fri Mar 01 15:16:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added JSR-340 compatibility notice to unit-jsc packages.
H A DMakefile.jsc11diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.

Now the configure script appends /server to --lib-path argument.
diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch.
diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.

This helps to avoid using excessive strictness in RPATH of Java modules.
diff 989:536ccd99d2e3 Fri Mar 01 15:16:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added JSR-340 compatibility notice to unit-jsc packages.
H A DMakefile.jsc-commondiff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1497:de07e42484ec Thu May 28 16:16:00 UTC 2020 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 1496:9e14c63773be Thu May 28 16:04:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Packages: fixed java configure script.

Now the configure script appends /server to --lib-path argument.
diff 1188:282c8f9fe43c Thu Sep 19 16:04:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Merged with the default branch.
diff 1160:67ba8e19b286 Mon Sep 16 10:28:00 UTC 2019 Andrei Belov <defan@nginx.com> Packages: added explicit library path for Java on RPM based distros.

This helps to avoid using excessive strictness in RPATH of Java modules.
/unit/
H A DREADME.mddiff 2097:2227ab4f0812 Mon May 16 10:16:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Deleted extra line in README.md.
diff 2097:2227ab4f0812 Mon May 16 10:16:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Deleted extra line in README.md.
2095:8c0978d786bd Fri May 13 16:13:00 UTC 2022 Artem Konev <artem.konev@nginx.com> Adding GitHub-styled README and CONTRIBUTING files in Markdown.
H A DCHANGESdiff 1722:8d987b7880f9 Thu Nov 19 16:59:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.21.0 CHANGES.
diff 1643:0e985b300673 Thu Oct 08 16:04:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Updated 1.20.0 CHANGES to include pytest migration.
diff 1570:41371bb77803 Thu Aug 13 16:22:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.19.0 CHANGES.
diff 1460:e44039667c3e Thu Apr 16 14:49:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added version 1.17.0 CHANGES.
diff 1284:7cdcbdd3ec34 Thu Nov 14 16:23:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Added version 1.13.0 CHANGES.
diff 1069:3dae65a81e8f Thu May 30 14:16:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Added version 1.9 CHANGES.
diff 886:9d30c80a7935 Thu Dec 20 16:17:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Added version 1.7 CHANGES.
diff 885:aae620f3dc68 Thu Dec 20 16:17:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Fixed style in CHANGES.
diff 639:2122fd672fd7 Thu Apr 12 16:47:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Added version 1.0 CHANGES.
diff 539:4ae0b7b989e3 Fri Feb 09 16:07:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Added version 0.6 CHANGES.
/unit/src/
H A Dnxt_file_name.cdiff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes.
H A Dnxt_http_source.cdiff 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.
H A Dnxt_job_file.hdiff 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.
H A Dnxt_buf_filter.cdiff 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.
H A Dnxt_buf_filter.hdiff 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.
H A Dnxt_fastcgi_source.hdiff 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.
H A Dnxt_http_source.hdiff 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.
H A Dnxt_linux_sendfile.cdiff 494:7c83ddcc1c42 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Fixed formatting in nxt_sprintf() and logging.
diff 1:fdc027c56872 Mon Jan 23 16:56:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Introducing tasks.
H A Dnxt_http_parse.hdiff 2139:99d792169ffb Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Constified numerous function parameters.

As was pointed out by the cppcheck[0] static code analysis utility we
can mark numerous function parameters as 'const'. This acts as a hint to
the compiler about our intentions and the compiler will tell us when we
deviate from them.

[0]: https://cppcheck.sourceforge.io/
diff 1505:d18f2b38596b Tue Jun 23 11:16:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Upstream chunked transfer encoding support.
diff 1459:358b957ca294 Thu Apr 16 14:09:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Using malloc/free for the http fields hash.

This is required due to lack of a graceful shutdown: there is a small gap
between the runtime's memory pool release and router process's exit. Thus, a
worker thread may start processing a request between these two operations,
which may result in an http fields hash access and subsequent crash.

To simplify issue reproduction, it makes sense to add a 2 sec sleep before
exit() in nxt_runtime_exit().
diff 1214:c3666b232602 Mon Sep 30 16:11:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> HTTP parser: removed unused "exten" field.

This field was intended for MIME type lookup by file extension when serving
static files, but this use case is too narrow; only a fraction of requests
targets static content, and the URI presumably isn't rewritten. Moreover,
current implementation uses the entire filename for MIME type lookup if the
file has no extension.

Instead of extracting filenames and extensions when parsing requests, it's
easier to obtain them right before serving static content; this behavior is
already implemented. Thus, we can drop excessive logic from parser.
diff 1170:830d6af7d24c Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> HTTP parser: removed unused "plus_in_target" flag.
diff 1169:f85eea6f1050 Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> HTTP parser: removed unused "offset" field.

Thanks to 洪志道 (Hong Zhi Dao).
diff 1168:d4b329089cca Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> HTTP parser: removed unused "exten_start" and "args_start" fields.
diff 1167:a49ee872e83d Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Configuration: added ability to access object members with slashes.

Now URI encoding can be used to escape "/" in the request path:

GET /config/listeners/unix:%2Fpath%2Fto%2Fsocket/
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
diff 16:c382e548cbb6 Wed Mar 01 12:29:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> HTTP parser.
H A Dnxt_upstream_round_robin.cdiff 1440:d1ad3857769c Mon Mar 30 16:47:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Rational number support in upstream server weight.
diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
H A Dnxt_job_file.cdiff 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.
H A Dnxt_http_websocket.cdiff 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.
H A Dnxt_clone.hdiff 1595:d1884e46cf71 Wed Sep 16 16:52:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: remove redundant macro.
diff 1595:d1884e46cf71 Wed Sep 16 16:52:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: remove redundant macro.
diff 1488:6976d36be926 Mon Mar 09 16:28:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Refactor of process management.

The process abstraction has changed to:

setup(task, process)
start(task, process_data)
prefork(task, process, mp)

The prefork() occurs in the main process right before fork.

The file src/nxt_main_process.c is completely free of process
specific logic.

The creation of a process now supports a PROCESS_CREATED state. The
The setup() function of each process can set its state to either
created or ready. If created, a MSG_PROCESS_CREATED is sent to main
process, where external setup can be done (required for rootfs under
container).

The core processes (discovery, controller and router) doesn't need
external setup, then they all proceeds to their start() function
straight away.

In the case of applications, the load of the module happens at the
process setup() time and The module's init() function has changed
to be the start() of the process.

The module API has changed to:

setup(task, process, conf)
start(task, data)

As a direct benefit of the PROCESS_CREATED message, the clone(2) of
processes using pid namespaces now doesn't need to create a pipe
to make the child block until parent setup uid/gid mappings nor it
needs to receive the child pid.
diff 1306:3604d05e48be Fri Dec 06 16:52:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Isolation: allowed the use of credentials with unpriv userns.

The setuid/setgid syscalls requires root capabilities but if the kernel
supports unprivileged user namespace then the child process has the full
set of capabilities in the new namespace, then we can allow setting "user"
and "group" in such cases (this is a common security use case).

Tests were added to ensure user gets meaningful error messages for
uid/gid mapping misconfigurations.
H A Dnxt_string.cdiff 2139:99d792169ffb Thu Jun 16 01:00:00 UTC 2022 Andrew Clayton <andrew@digital-domain.net> Constified numerous function parameters.

As was pointed out by the cppcheck[0] static code analysis utility we
can mark numerous function parameters as 'const'. This acts as a hint to
the compiler about our intentions and the compiler will tell us when we
deviate from them.

[0]: https://cppcheck.sourceforge.io/
diff 1439:32578e837322 Mon Mar 30 16:37:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: support for rational numbers.
diff 1234:e56683f325ab Thu Oct 10 16:37:00 UTC 2019 Igor Sysoev <igor@sysoev.ru> Changed nxt_memcasecmp() interface to avoid casts.
diff 1167:a49ee872e83d Mon Sep 16 17:17:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Configuration: added ability to access object members with slashes.

Now URI encoding can be used to escape "/" in the request path:

GET /config/listeners/unix:%2Fpath%2Fto%2Fsocket/
diff 963:d847762b684b Tue Feb 26 16:48:00 UTC 2019 Igor Sysoev <igor@sysoev.ru> Introduced nxt_memcpy_upcase().
diff 212:d532db63e8cb Wed Aug 16 12:43:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Renamed nxt_str_copy() to nxt_str_cstrz().
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
diff 10:a8e68ed06863 Wed Feb 01 16:20:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> nxt_str_t changes.
H A Dnxt_stream_module.cdiff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
H A Dnxt_listen_socket.cdiff 494:7c83ddcc1c42 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Fixed formatting in nxt_sprintf() and logging.
diff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier.
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.
diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments.
diff 211:6738bb76ae0a Wed Aug 16 11:16:00 UTC 2017 Ruslan Ermilov <ru@nginx.com> Corrected path to nxt_socket.h in comments.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
H A Dnxt_conn_accept.cdiff 493:745222d540a2 Wed Jan 24 12:16:00 UTC 2018 Sergey Kandaurov <pluknet@nginx.com> Using size_t for the field width type of the "%*s" specifier.
diff 338:2c6135a99c27 Wed Sep 27 16:43:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Fixed building by modern GCC.
diff 337:854a1a440616 Wed Sep 27 16:22:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Event engine memory cache for nxt_sockaddr_t.

Introducing event engine memory cache and using the cache for
nxt_sockaddr_t structures.
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.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
/unit/test/perl/variables/
H A Dpsgi.pldiff 581:b505e4d4f864 Mon Mar 19 16:03:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: more Perl tests.
544:c4bbb14c5bdb Mon Feb 12 16:32:00 UTC 2018 Andrey Zelenkov <zelenkov@nginx.com> Tests: perl module.
/unit/src/test/
H A Dnxt_clone_test.cdiff 1439:32578e837322 Mon Mar 30 16:37:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: support for rational numbers.
1306:3604d05e48be Fri Dec 06 16:52:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Isolation: allowed the use of credentials with unpriv userns.

The setuid/setgid syscalls requires root capabilities but if the kernel
supports unprivileged user namespace then the child process has the full
set of capabilities in the new namespace, then we can allow setting "user"
and "group" in such cases (this is a common security use case).

Tests were added to ensure user gets meaningful error messages for
uid/gid mapping misconfigurations.
/unit/test/
H A Dtest_go_isolation.pydiff 1768:3a9850ceccfc Thu Jan 07 16:51:00 UTC 2021 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: reordered asserts to avoid a test race.

The mount points are unmounted in the main process after it
detects the app process died. By testing the `tmpfs: true`
first, it happens that main could start the `tmpfs: false`
test case before main cleans the old process mount points.
diff 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.
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 1707:d718554dd379 Mon Nov 16 17:22:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Tests: tmpfs automount.
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.

12345678910>>...13