Home
last modified time | relevance | path

Searched hist:20 (Results 51 – 75 of 369) sorted by last modified time

12345678910>>...15

/unit/src/
H A Dnxt_var.cdiff 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 2243:dd668fe8d827 Sun Nov 20 15:11:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Var: improved variable parsing with empty names.

Unit parsed the case of "$uri$$host" into unknown variables.
This commit makes it invalid variable instead.
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.
diff 2146:362258b173b3 Wed Jul 13 20:31:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Var: optimization to get rid of nxt_var_cache_find().

No functional changes.
H A Dnxt_file.hdiff 2084:7d479274f334 Sat Apr 30 17:20:00 UTC 2022 Alejandro Colomar <alx.manpages@gmail.com> Fixed #define style.

We had a mix of styles for declaring function-like macros:

Style A:
#define \
foo() \
do { \
... \
} while (0)

Style B:
#define foo() \
do { \
... \
} while (0)

We had a similar number of occurences of each style:

$ grep -rnI '^\w*(.*\\' | wc -l
244
$ grep -rn 'define.*(.*)' | wc -l
239

(Those regexes aren't perfect, but a very decent approximation.)

Real examples:

$ find src -type f | xargs sed -n '/^nxt_double_is_zero/,/^$/p'
nxt_double_is_zero(f) \
(fabs(f) <= FLT_EPSILON)

$ find src -type f | xargs sed -n '/define nxt_http_field_set/,/^$/p'
#define nxt_http_field_set(_field, _name, _value) \
do { \
(_field)->name_length = nxt_length(_name); \
(_field)->value_length = nxt_length(_value); \
(_field)->name = (u_char *) _name; \
(_field)->value = (u_char *) _value; \
} while (0)

I'd like to standardize on a single style for them, and IMO,
having the identifier in the same line as #define is a better
option for the following reasons:

- Programmers are used to `#define foo() ...` (readability).
- One less line of code.
- The program for finding them is really simple (see below).

function grep_ngx_func()
{
if (($# != 1)); then
>&2 echo "Usage: ${FUNCNAME[0]} <func>";
return 1;
fi;

find src -type f \
| grep '\.[ch]$' \
| xargs grep -l "$1" \
| sort \
| xargs pcregrep -Mn "(?s)^\$[\w\s*]+?^$1\(.*?^}";

find src -type f \
| grep '\.[ch]$' \
| xargs grep -l "$1" \
| sort \
| xargs pcregrep -Mn "(?s)define $1\(.*?^$" \
| sed -E '1s/^[^:]+:[0-9]+:/&\n\n/';
}

$ grep_ngx_func
Usage: grep_ngx_func <func>

$ grep_ngx_func nxt_http_field_set
src/nxt_http.h:98:

#define nxt_http_field_set(_field, _name, _value) \
do { \
(_field)->name_length = nxt_length(_name); \
(_field)->value_length = nxt_length(_value); \
(_field)->name = (u_char *) _name; \
(_field)->value = (u_char *) _value; \
} while (0)

$ grep_ngx_func nxt_sprintf
src/nxt_sprintf.c:56:

u_char * nxt_cdecl
nxt_sprintf(u_char *buf, u_char *end, const char *fmt, ...)
{
u_char *p;
va_list args;

va_start(args, fmt);
p = nxt_vsprintf(buf, end, fmt, args);
va_end(args);

return p;
}

................
Scripted change:
................

$ find src -type f \
| grep '\.[ch]$' \
| xargs sed -i '/define *\\$/{N;s/ *\\\n/ /;s/ //}'
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
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 Dnxt_file.cdiff 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 Dnxt_conn_write.cdiff 2652:29e22091601c Mon Feb 19 15:20:00 UTC 2024 Andrew Clayton <a.clayton@nginx.com> Avoid a segfault in nxt_conn_io_sendbuf()

This is a simple temporary fix (doesn't address the underlying problem)
for an issue reported by a user on GitHub whereby downloading of files
from a PHP application would cause the router process to crash.

This is actually a generic problem that will affect anything sending
data via nxt_unit_response_write().

This is just a simple fix for the 1.32 release, after which the full
correct fix will be worked out.

Link: <https://github.com/nginx/unit/issues/1125>
Reported-by: rustedsword <https://github.com/rustedsword>
Co-developed-by: rustedsword <https://github.com/rustedsword>
Tested-by: rustedsword <https://github.com/rustedsword>
Tested-by: Andrew Clayton <a.clayton@nginx.com>
Reviewed-by: Zhidao Hong <z.hong@f5.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
diff 771:f349b2d68e75 Thu Sep 20 12:05:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Added SSL/TLS support on connection level.
H A Dnxt_conf.hdiff 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 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.
diff 2076:1be3131609fd Sat Dec 18 20:39:00 UTC 2021 Alejandro Colomar <alx.manpages@gmail.com> Added new array APIs that also work with non-arrays.

Similar to how C pointers to variables can always be considered as
pointers to the first element of an array of size 1 (see the
following code for an example of how they are equivalent),
treating non-NXT_CONF_VALUE_ARRAY as if they were
NXT_CONF_VALUE_ARRAYs of size 1 allows for simpler and more
generic code.

void foo(ptrdiff_t sz, int arr[sz])
{
for (ptrdiff_t i = 0; i < sz; i++)
arr[i] = 0;
}

void bar(void)
{
int x;
int y[1];

foo(1, &x);
foo(1, y);
}

nxt_conf_array_elements_count_or_1():
Similar to nxt_conf_array_elements_count().
Return a size of 1 when input is non-array, instead of
causing undefined behavior. That value (1) makes sense
because it will be used as the limiter of a loop that
loops over the array and calls
nxt_conf_get_array_element_or_itself(), which will return
a correct element for such loops.

nxt_conf_get_array_element_or_itself():
Similar to nxt_conf_get_array_element().
Return the input pointer unmodified (i.e., a pointer to
the unique element of a hypothetical array), instead of
returning NULL, which wasn't very useful.

nxt_conf_array_qsort():
Since it's a no-op for non-arrays, this API can be reused.
diff 774:b21709350c49 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: certificates storage interface.
diff 773:ff0e7d712ef3 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Deduplicated string value initializations.
diff 92:67234ab1be76 Fri Jun 23 20:28:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Configuration printing functions splitted in two parts.

Requested by Igor.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
H A Dnxt_conf.cdiff 2231:5b3a69fd47a7 Wed Nov 02 20:45:00 UTC 2022 Alejandro Colomar <alx@nginx.com> Removed the unsafe nxt_memcmp() wrapper for memcmp(3).

The casts are unnecessary, since memcmp(3)'s arguments are '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_memcmp() to memcmp(3) were scripted:

$ find src/ -type f \
| grep '\.[ch]$' \
| xargs sed -i 's/nxt_memcmp/memcmp/'

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
diff 2076:1be3131609fd Sat Dec 18 20:39:00 UTC 2021 Alejandro Colomar <alx.manpages@gmail.com> Added new array APIs that also work with non-arrays.

Similar to how C pointers to variables can always be considered as
pointers to the first element of an array of size 1 (see the
following code for an example of how they are equivalent),
treating non-NXT_CONF_VALUE_ARRAY as if they were
NXT_CONF_VALUE_ARRAYs of size 1 allows for simpler and more
generic code.

void foo(ptrdiff_t sz, int arr[sz])
{
for (ptrdiff_t i = 0; i < sz; i++)
arr[i] = 0;
}

void bar(void)
{
int x;
int y[1];

foo(1, &x);
foo(1, y);
}

nxt_conf_array_elements_count_or_1():
Similar to nxt_conf_array_elements_count().
Return a size of 1 when input is non-array, instead of
causing undefined behavior. That value (1) makes sense
because it will be used as the limiter of a loop that
loops over the array and calls
nxt_conf_get_array_element_or_itself(), which will return
a correct element for such loops.

nxt_conf_get_array_element_or_itself():
Similar to nxt_conf_get_array_element().
Return the input pointer unmodified (i.e., a pointer to
the unique element of a hypothetical array), instead of
returning NULL, which wasn't very useful.

nxt_conf_array_qsort():
Since it's a no-op for non-arrays, this API can be reused.
diff 1363:69aba3ef7042 Thu Feb 20 14:58:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Configuration: stripping comments from the input JSON.

This allows to have JavaScript-like comments in the uploading JSON.
diff 775:6ce55d96f9d9 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: addressing of array elements in requests.
diff 774:b21709350c49 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: certificates storage interface.
diff 773:ff0e7d712ef3 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Deduplicated string value initializations.
diff 202:25b117dadaf6 Tue Aug 08 19:20:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Fixed JSON escape sequence parsing.
H A Dnxt_http_static.cdiff 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 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.
diff 1617:c1f6f719cf1d Tue Sep 29 20:23:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> MIME: added AVIF and APNG image formats.

AVIF is a modern image format based on the AV1 video codec. It generally has
better compression than other widely used formats (WebP, JPEG, PNG, and GIF)
and is designed to supersede them. Support was already added to the latest
version of Chrome.

APNG extends PNG to permit animated images that work similarly to animated GIF.
It's supported by most modern browsers.

Also removed duplicated ".svg" entry.
diff 1483:850e3a95c4e7 Wed May 20 08:18:00 UTC 2020 Valentin Bartenev <vbart@nginx.com> Static: fixed potential undefined behavior in memcpy().

According to the C standard, pointer arguments passed to memcpy() calls shall
still have valid values. NULL is considered as invalid.

Found with GCC Static Analyzer.
diff 1198:c42525ede054 Fri Sep 20 11:31:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Fixed segfault if an inappropriate file system object is requested.

Found by Coverity (CID 349483).
H A Dnxt_isolation.cdiff 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 1580:f1aefdf995d4 Thu Aug 20 14:44:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Isolation: mount tmpfs by default.
1579:c80e692dc644 Thu Aug 20 14:22:00 UTC 2020 Tiago Natel de Moura <t.nateldemoura@f5.com> Moved isolation related code to "nxt_isolation.c".
H A Dnxt_router.hdiff 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 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.
diff 2133:46433e3cef45 Mon Jun 20 05:22:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Router: forwared header replacement.
diff 2132:34d63ed988dc Mon Jun 20 05:16:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Router: introduced nxt_http_forward_t.

This makes the replacement of forwarded request header
like client_ip and protocol more generic.
It's a prerequirement for protocol replacement.

No functional changes.
diff 1552:a363564c527c Tue Aug 11 16:20:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Made router port message handlers into static functions.

Mostly harmless.
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 1394:20b41ebfff79 Fri Mar 06 15:28:00 UTC 2020 Igor Sysoev <igor@sysoev.ru> Round robin upstream added.
diff 1131:ec7d924d8dfb Tue Aug 20 13:31:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Introducing websocket support in router and libunit.
diff 1123:96c52626c673 Wed Aug 14 20:59:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Renaming supplemental request structures in router.

- nxt_req_app_link_t -> nxt_request_app_link_t
- nxt_req_conn_link_t -> nxt_request_rpc_data_t

Corresponding abbreviated field names also changed:
- ra -> req_app_link
- rc -> req_rpc_data
diff 774:b21709350c49 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: certificates storage interface.
H A Dnxt_http_request.cdiff 2448:243735980417 Thu Apr 20 15:20:00 UTC 2023 Zhidao HONG <z.hong@f5.com> HTTP: added basic URI rewrite.

This commit introduced the basic URI rewrite. It allows users to change request URI. Note the "rewrite" option ignores the contained query if any and the query from the request is preserverd.
An example:
"routes": [
{
"match": {
"uri": "/v1/test"
},
"action": {
"return": 200
}
},
{
"action": {
"rewrite": "/v1$uri",
"pass": "routes"
}
}
]

Reviewed-by: Alejandro Colomar <alx@nginx.com>
diff 2448:243735980417 Thu Apr 20 15:20:00 UTC 2023 Zhidao HONG <z.hong@f5.com> HTTP: added basic URI rewrite.

This commit introduced the basic URI rewrite. It allows users to change request URI. Note the "rewrite" option ignores the contained query if any and the query from the request is preserverd.
An example:
"routes": [
{
"match": {
"uri": "/v1/test"
},
"action": {
"return": 200
}
},
{
"action": {
"rewrite": "/v1$uri",
"pass": "routes"
}
}
]

Reviewed-by: Alejandro Colomar <alx@nginx.com>
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 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.
diff 2133:46433e3cef45 Mon Jun 20 05:22:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Router: forwared header replacement.
diff 2132:34d63ed988dc Mon Jun 20 05:16:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Router: introduced nxt_http_forward_t.

This makes the replacement of forwarded request header
like client_ip and protocol more generic.
It's a prerequirement for protocol replacement.

No functional changes.
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 Dnxt_router_access_log.cdiff 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 Dnxt_clone.cdiff 1201:563e00547881 Fri Sep 20 13:16:00 UTC 2019 Tiago Natel <t.nateldemoura@f5.com> Closing leaking file descriptor.

Found by Coverity (CID 349484).
H A Dnxt_openssl.cdiff 2231:5b3a69fd47a7 Wed Nov 02 20:45:00 UTC 2022 Alejandro Colomar <alx@nginx.com> Removed the unsafe nxt_memcmp() wrapper for memcmp(3).

The casts are unnecessary, since memcmp(3)'s arguments are '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_memcmp() to memcmp(3) were scripted:

$ find src/ -type f \
| grep '\.[ch]$' \
| xargs sed -i 's/nxt_memcmp/memcmp/'

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@nginx.com>
diff 2090:e6102bb58d1d Wed May 11 20:04:00 UTC 2022 Sergey Kandaurov <pluknet@nginx.com> Using SSL_OP_IGNORE_UNEXPECTED_EOF.

A new behaviour was introduced in OpenSSL 1.1.1e, when a peer does not send
close_notify before closing the connection. Previously, it was to return
SSL_ERROR_SYSCALL with errno 0, known since at least OpenSSL 0.9.7, and is
handled gracefully in unitd. Now it returns SSL_ERROR_SSL with a distinct
reason SSL_R_UNEXPECTED_EOF_WHILE_READING ("unexpected eof while reading").
This leads to critical errors seen in nginx within various routines such as
SSL_do_handshake(), SSL_read(), SSL_shutdown(). The behaviour was restored
in OpenSSL 1.1.1f, but presents in OpenSSL 3.0 by default.

Use of the SSL_OP_IGNORE_UNEXPECTED_EOF option added in OpenSSL 3.0 allows
setting a compatible behaviour to return SSL_ERROR_ZERO_RETURN:
https://git.openssl.org/?p=openssl.git;a=commitdiff;h=09b90e0

See for additional details: https://github.com/openssl/openssl/issues/11381
diff 2089:dcec02b45917 Wed May 11 20:04:00 UTC 2022 Sergey Kandaurov <pluknet@nginx.com> Using OPENSSL_SUPPRESS_DEPRECATED.

The macro is used to suppress deprecation warnings with OpenSSL 3.0.

Unlike OPENSSL_API_COMPAT, it works well with OpenSSL built with no-deprecated.
In particular, it doesn't unhide various macros in OpenSSL includes, which are
meant to be hidden under OPENSSL_NO_DEPRECATED.
diff 1828:c548e46fe516 Wed Mar 24 20:19:00 UTC 2021 Andrey Suvorov <a.suvorov@f5.com> Added ability to configure multiple certificates on a listener.

The certificate is selected by matching the arriving SNI to the common name and
the alternatives names. If no certificate matches the name, the first bundle in
the array is chosen.
diff 990:4c469dbeee4a Fri Mar 01 15:20:00 UTC 2019 Igor Sysoev <igor@sysoev.ru> Fixed TLS connections hanging.

After event is delivered from the kernel its further processing is blocked.
Non-ready TSL I/O operation should mark connection I/O state as not ready
to unblock events and to allow their further processing. Otherwise
the connection hangs.
diff 774:b21709350c49 Thu Sep 20 12:27:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Controller: certificates storage interface.
diff 771:f349b2d68e75 Thu Sep 20 12:05:00 UTC 2018 Igor Sysoev <igor@sysoev.ru> Added SSL/TLS support on connection level.
diff 65:10688b89aa16 Tue Jun 20 16:49:00 UTC 2017 Igor Sysoev <igor@sysoev.ru> Using new memory pool implementation.
/unit/src/nodejs/unit-http/
H A Dhttp_server.jsdiff 1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
H A Dunit.cppdiff 1729:5be509fda29e Mon Nov 30 20:30:00 UTC 2020 Max Romanov <max.romanov@nginx.com> Node.js: removing unnecessary warnings.

Warnings changed for debug messages.
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 1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
H A Dwebsocket_request.js1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
H A Dwebsocket_connection.js1132:9ac5b5f33ed9 Tue Aug 20 13:32:00 UTC 2019 Max Romanov <max.romanov@nginx.com> Node.js: introducing websocket support.
/unit/pkg/
H A DMakefilediff 508:42e7a71fc203 Tue Jan 30 14:20:00 UTC 2018 Konstantin Pavlov <thresh@nginx.com> Introduced docker images building tools.
/unit/test/
H A Dtest_node_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 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.
H A Dtest_access_log.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 1770:e4ece1ff4413 Tue Jan 12 06:20:00 UTC 2021 Andrei Zeliankou <zelenkov@nginx.com> Tests: unit_stop() removed where possible.

Since wait_for_record() was introduced there is no need
to stop Unit before parsing unit.log.
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 1041:9bdd46610ea9 Mon Apr 22 15:20:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Tests: using "pass" option instead of deprecated "application".
diff 1017:887a4bbabf1e Tue Mar 26 20:38:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: style.
H A Dtest_ruby_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 2073:bc6ad31ce286 Mon Apr 11 20:05:00 UTC 2022 Andrei Zeliankou <zelenkov@nginx.com> Tests: style.
diff 1770:e4ece1ff4413 Tue Jan 12 06:20:00 UTC 2021 Andrei Zeliankou <zelenkov@nginx.com> Tests: unit_stop() removed where possible.

Since wait_for_record() was introduced there is no need
to stop Unit before parsing unit.log.
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 949:39f6599a675e Wed Feb 20 17:28:00 UTC 2019 Andrey Zelenkov <zelenkov@nginx.com> Tests: skip sendmsg()/recvmsg() alerts for all tests.

Currently, these alerts may appear in the log when any application exits.
/unit/pkg/deb/
H A DMakefilediff 2277:424a6a6214ef Thu Dec 08 02:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: added njs support.
diff 2138:8223904cc4bb Mon Jun 20 14:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: cleanup targets that are not supported anymore.
diff 2138:8223904cc4bb Mon Jun 20 14:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: cleanup targets that are not supported anymore.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 778:e79dfec13786 Thu Sep 20 13:14:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: enabled OpenSSL support.
diff 559:2159fd34c127 Thu Mar 01 20:03:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: unified check-build-depends target.
/unit/pkg/rpm/
H A DMakefilediff 2277:424a6a6214ef Thu Dec 08 02:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: added njs support.
diff 2138:8223904cc4bb Mon Jun 20 14:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: cleanup targets that are not supported anymore.
diff 2138:8223904cc4bb Mon Jun 20 14:20:00 UTC 2022 Konstantin Pavlov <thresh@nginx.com> Packages: cleanup targets that are not supported anymore.
diff 1596:b7e2d4d92624 Wed Sep 16 20:31:00 UTC 2020 Andrei Zeliankou <zelenkov@nginx.com> Tests: migrated to the pytest.
diff 994:20c278ad17ce Fri Mar 01 15:30:00 UTC 2019 Andrei Belov <defan@nginx.com> Merged with the default branch.
diff 778:e79dfec13786 Thu Sep 20 13:14:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: enabled OpenSSL support.
diff 562:406b163dad62 Thu Mar 01 20:03:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support.
diff 561:111e9f2a1513 Thu Mar 01 20:03:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: fixed changelog generation for rpms.
diff 560:e5539c168105 Thu Mar 01 20:03:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: include unit.spec under specs target.
diff 559:2159fd34c127 Thu Mar 01 20:03:00 UTC 2018 Andrei Belov <defan@nginx.com> Packages: unified check-build-depends target.
/unit/test/unit/
H A Dstatus.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.
H A Dhttp.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 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.

12345678910>>...15