Home
last modified time | relevance | path

Searched hist:27 (Results 151 – 175 of 349) sorted by relevance

12345678910>>...14

/unit/src/
H A Dnxt_status.c2185:2227bdbb3c89 Mon Aug 29 06:27:00 UTC 2022 Valentin Bartenev <vbart@nginx.com> Implemented basic statistics API.
H A Dnxt_string.cdiff 1431:fe30a27f21ba Fri Mar 27 14:22:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Added nxt_is_complex_uri_encoded()/nxt_encode_complex_uri().
diff 1430:f4245d81dc2a Fri Mar 27 14:22:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Updated URI escaping table for better conformity with RFC 3986.

Now '>', '<', '"', '^', '\', '}', '|', '{', and '`' are also escaped.
diff 98:4077decf847b Tue Jun 27 14:27:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Applied nxt_pointer_to() and nxt_value_at() where possible.
diff 98:4077decf847b Tue Jun 27 14:27:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Applied nxt_pointer_to() and nxt_value_at() where possible.
H A Dnxt_log_moderation.cdiff 4:76c63e9b6322 Fri Jan 27 08:35:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Work queues refactoring.
H A Dnxt_port_rpc.cdiff 1487:6238e2224c43 Wed May 27 21:41:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Moving nxt_stream_ident to shared memory.

This aims to avoid stream id clashes after router restart.
diff 427:05ae752c6cfb Wed Dec 27 14:48:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Rescheduling of pending request after configured timeout.

New optional configuration parameter introduced: limits.reschedule_timeout.
Default value 1 second. In the case when request is written to the port
socket 'in advance', it is called 'pending'.

On every completed request, the head of pending request is checked against
reschedule timeout. If this request waiting for execution longer than
timeout, it is cancelled, new port selected for this request.
diff 425:1da949cf0a34 Wed Dec 27 14:47:00 UTC 2017 Max Romanov <max.romanov@nginx.com> Fixing application timeout.

Application timeout limits maximum time of worker response in processing
particular request. Not including the time required to start worker,
time in request queue etc.
H A Dnxt_port_rpc.hdiff 1487:6238e2224c43 Wed May 27 21:41:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Moving nxt_stream_ident to shared memory.

This aims to avoid stream id clashes after router restart.
H A Dnxt_main_process.hdiff 774:b21709350c49 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: certificates storage interface.
diff 754:c8e0f350f0d4 Fri Aug 10 16:27:00 UTC 2018 Max Romanov <max.romanov@nginx.com> Stopping all application processes if router process dies.

Unit master process restarts the router if the router accidentally dies.
New router process receives the configuration from controller and starts
configured applications. The information of running applications cannot
be transferred to router because currently there is no persistent application
identifier. To avoid orphan application processes started by died router,
master process stops all currently running applications once it receives
SIGCHLD for router process.
H A Dnxt_thread_pool.cdiff 4:76c63e9b6322 Fri Jan 27 08:35:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Work queues refactoring.
/unit/src/python/
H A Dnxt_python_asgi_lifespan.cdiff 2483:9d1e9b09cc6f Sat May 27 14:18:00 UTC 2023 synodriver <diguohuangjiajinweijun@gmail.com> Python: Add ASGI lifespan state support.

Lifespan state is a special dict in asgi lifespan scope, which allow
applications to persist data from the lifespan cycle to request/response
handling. The scope["state"] namespace provides a place to store these
sorts of things. The server will ensure that a shallow copy of the
namespace is passed into each subsequent request/response call into the
application.

Some frameworks are already taking advantage of this feature, for
example, starlette, and without this feature they wouldn't work
properly.

Signed-off-by: synodriver <diguohuangjiajinweijun@gmail.com>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
[ Minor code tweaks to avoid lines > 80 chars, static a function and
re-work the PyMemberDef structure initialisation for Python <3.7
and -Wwrite-strings compatibility - Andrew ]
Tested-by: <https://github.com/synodriver>
Tested-by: <https://github.com/hawiliali>
Closes: <https://github.com/nginx/unit/issues/864>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 1697:73a335d2911d Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: supporting ASGI legacy protocol.

Introducing manual protocol selection for 'universal' apps and frameworks.
/unit/pkg/deb/debian.module/
H A Dunit.example-python3.7-configdiff 921:dbb4f025d98c Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.
diff 904:e2cf3f7aa522 Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.
902:f3f87281afb4 Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.
H A Dcopyright.unit-jsc11diff 2475:b4f09ab4b9f6 Wed May 24 15:27:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Updated copyright notice.
H A Dcopyright.unit-jsc8diff 2475:b4f09ab4b9f6 Wed May 24 15:27:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Updated copyright notice.
/unit/test/python/legacy/
H A Dasgi.py1697:73a335d2911d Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: supporting ASGI legacy protocol.

Introducing manual protocol selection for 'universal' apps and frameworks.
/unit/test/python/legacy_force/
H A Dasgi.py1697:73a335d2911d Tue Nov 10 19:27:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Python: supporting ASGI legacy protocol.

Introducing manual protocol selection for 'universal' apps and frameworks.
/unit/auto/
H A Dtimediff 2228:f403dc1e3ec1 Thu Oct 27 23:17:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed main() prototypes in auto tests.

Future releases of GCC are planning to remove[0] default support for
some old features that were removed from C99 but GCC still accepts.

We can test for these changes by using the following -Werror=
directives

-Werror=implicit-int
-Werror=implicit-function-declaration
-Werror=int-conversion
-Werror=strict-prototypes
-Werror=old-style-definition

Doing so revealed an issue with the auto/ tests in that the test
programs always define main as

int main()

rather than

int main(void)

which results in a bunch of errors like

build/autotest.c:3:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
3 | int main() {
| ^~~~
build/autotest.c: In function 'main':
build/autotest.c:3:23: error: old-style function definition [-Werror=old-style-definition]

The fix was easy, it only required fixing the main prototype with

find -type f -exec sed -i 's/int main() {/int main(void) {/g' {} \;

Regardless of these upcoming GCC changes, this is probably a good thing
to do anyway for correctness.

[0]: https://fedoraproject.org/wiki/Changes/PortingToModernC

Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CJXKTLXJUPZ4F2C2VQOTNMEA5JAUPMBD/>
Link: <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/6SGHPHPAXKCVJ6PUZ57WVDQ5TDBVIRMF/>
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 334:4350610c7c77 Wed Sep 27 15:34:00 UTC 2017 Sergey Kandaurov <pluknet@nginx.com> Better checking for shm_open() during configure.
/unit/test/python/close/
H A Dwsgi.pydiff 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.
/unit/test/python/close_error/
H A Dwsgi.pydiff 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.
/unit/pkg/rpm/rpmbuild/SOURCES/
H A DCOPYRIGHT.unit-jsc11diff 2475:b4f09ab4b9f6 Wed May 24 15:27:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Updated copyright notice.
H A DCOPYRIGHT.unit-jsc8diff 2475:b4f09ab4b9f6 Wed May 24 15:27:00 UTC 2023 Andrei Zeliankou <zelenkov@nginx.com> Updated copyright notice.
/unit/pkg/contrib/src/njs/
H A DMakefilediff 2357:39bd904f1b63 Mon Feb 27 23:45:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> contrib: updated njs to 0.7.10.
diff 2356:459a21667058 Mon Feb 27 23:45:00 UTC 2023 Konstantin Pavlov <thresh@nginx.com> contrib: updated njs to 0.7.10.
/unit/src/perl/
H A Dnxt_perl_psgi_layer.cdiff 2060:a1991578c62e Mon Dec 27 13:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Perl: creating input and error streams if closed.

Application handler can do anything with a stream object (including close it).
Once the stream is closed, Unit creates a new stream.

This closes #616 issue on GitHub.
/unit/src/test/
H A Dnxt_unit_websocket_echo.cdiff 2229:3a230013e58a Thu Oct 27 23:54:00 UTC 2022 Andrew Clayton <a.clayton@nginx.com> Fixed some function definitions.

Future releases of GCC will render function definitions like

func()

invalid by default. See the previous commit 09f88c9 ("Fixed main()
prototypes in auto tests.") for details.

Such functions should be defined like

func(void)

This is a good thing to do regardless of the upcoming GCC changes.

Reviewed-by: Alejandro Colomar <alx@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
H A Dnxt_unit_app_test.cdiff 1669:37e2a3ea1bf1 Tue Oct 27 21:01:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Added threading to the libunit test app.
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.
/unit/test/python/atexit/
H A Dwsgi.pydiff 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.
/unit/pkg/rpm/
H A DMakefile.godiff 920:56bfd825a2c4 Thu Dec 27 08:06:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: URL fixed in examples to work with latest curl.
diff 903:5bc14da6cc3c Thu Dec 27 08:06:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: URL fixed in examples to work with latest curl.
diff 901:1b786504d4c6 Thu Dec 27 08:06:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: URL fixed in examples to work with latest curl.
diff 788:5e8b61d5e99e Thu Sep 27 12:05:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: updated to 1.4-2.
diff 787:1f5e8efe6934 Thu Sep 27 12:04:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: adjusted post-install banners.
/unit/docs/
H A DMakefilediff 1887:0a32914bf7bf Thu May 27 10:12:00 UTC 2021 Andrei Belov <defan@nginx.com> Packages: added Ubuntu 21.04 "hirsute" support.
diff 921:dbb4f025d98c Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.
diff 904:e2cf3f7aa522 Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.
diff 902:f3f87281afb4 Thu Dec 27 08:07:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: Ubuntu 18.10 "cosmic" support added.

12345678910>>...14