src/core/ngx_resolver.c | 38 +-
src/core/ngx_resolver.h | 5 +
2 files changed, 42 insertions(+), 1 deletions(-)
# HG changeset patch
# User Ruslan Ermilov
# Date 1645589387 -10800
# Wed Feb 23 07:09:47 2022 +0300
# Node ID
On Wed, Feb 16, 2022 at 03:30:55PM +0300, Ruslan Ermilov wrote:
> Hi Lukas,
>
> On Wed, Jan 19, 2022 at 07:47:44PM +0100, Lukas Lihotzki via nginx-devel
> wrote:
> > # HG changeset patch
> > # User Lukas Lihotzki
> > # Date 1642618053 -3600
> > # Wed J
r fix.
There's a number of problems in your patch. Please try this
one instead:
# HG changeset patch
# User Ruslan Ermilov
# Date 1644873563 -10800
# Tue Feb 15 00:19:23 2022 +0300
# Node ID 5d2cb60a78dd32a10a0010ccff39974fd7605867
# Parent 1add55d236522616ce34ffaa4dc697a76d3d41a4
Th
details: https://hg.nginx.org/nginx/rev/336084ff943b
branches:
changeset: 7977:336084ff943b
user: Ruslan Ermilov
date: Tue Dec 21 07:54:16 2021 +0300
description:
Moved Huffman coding out of HTTP/2.
ngx_http_v2_huff_decode.c and ngx_http_v2_huff_encode.c are renamed
details: https://hg.nginx.org/nginx/rev/ecf2a9002b37
branches:
changeset: 7887:ecf2a9002b37
user: Ruslan Ermilov
date: Mon Jul 05 13:26:49 2021 +0300
description:
Win32: use only preallocated memory in send/recv chain functions.
The ngx_wsasend_chain() and ngx_wsarecv_chain
details: https://hg.nginx.org/nginx/rev/7f5e3595caff
branches:
changeset: 7886:7f5e3595caff
user: Ruslan Ermilov
date: Mon Jul 05 13:09:23 2021 +0300
description:
Use only preallocated memory in ngx_readv_chain() (ticket #1408).
In d1bde5c3c5d2, the number of preallocated iovec's
details: https://hg.nginx.org/nginx/rev/1bde031b59ff
branches:
changeset: 7848:1bde031b59ff
user: Ruslan Ermilov
date: Mon May 24 21:55:20 2021 +0300
description:
Location header escaping in redirects (ticket #882).
The header is escaped in redirects based on request URI
details: https://hg.nginx.org/nginx/rev/5772da03faf8
branches:
changeset: 7845:5772da03faf8
user: Ruslan Ermilov
date: Wed May 19 16:24:13 2021 +0300
description:
Core: fixed comment about msie_refresh escaping.
After 12a656452ad1, the "%" character is no long
}
> +
> + if (ls->fastopen >= 0) {
Here I changed the comparison to -1 to match the initial value.
I also relocated code inserts to match the http code better.
# HG changeset patch
# User Ruslan Ermilov
# Date 1620909454 -10800
# Thu May 13 15:37:34 2021 +0300
# N
On Thu, Apr 15, 2021 at 08:59:16AM +, 囧 尼 wrote:
> # HG changeset patch
> # User Johnny Wang
> # Date 1618472983 -28800
> # Thu Apr 15 15:49:43 2021 +0800
> # Node ID a5903fe55622e839906e9544c1a08a66c1e0cf91
> # Parent b56c45e3bd5029f98e1e847eebad75430e2cca27
> Initialize 'ch' with
details: https://hg.nginx.org/nginx/rev/f2ff291bbdac
branches:
changeset: 7830:f2ff291bbdac
user: Ruslan Ermilov
date: Thu Apr 22 16:12:52 2021 +0300
description:
Restored zeroing of ngx_channel_t in ngx_pass_open_channel().
Due to structure's alignment, some uninitialized memory
details: https://hg.nginx.org/nginx/rev/0215ec9aaa8a
branches:
changeset: 7802:0215ec9aaa8a
user: Ruslan Ermilov
date: Thu Mar 11 09:58:45 2021 +0300
description:
Removed "ch" argument from ngx_pass_open_channel().
diffstat:
src/os/unix/ngx_process_cyc
details: https://hg.nginx.org/nginx/rev/529b73f75d19
branches:
changeset: 7786:529b73f75d19
user: Ruslan Ermilov
date: Tue Mar 02 00:58:24 2021 +0300
description:
Proxy: variables support in "proxy_cookie_flags" flags.
diffstat:
src/http/modules/ngx_http_proxy_modu
details: https://hg.nginx.org/nginx/rev/549b13cd793b
branches:
changeset: 7778:549b13cd793b
user: Ruslan Ermilov
date: Sat Feb 20 12:44:26 2021 +0300
description:
Configure: marked top-level make targets as phony.
Reported by Thibault Nélis.
diffstat:
auto/init| 2 ++
auto
details: https://hg.nginx.org/nginx/rev/5ef14498edf7
branches:
changeset: :5ef14498edf7
user: Ruslan Ermilov
date: Sat Feb 20 12:44:07 2021 +0300
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
details: https://hg.nginx.org/nginx/rev/519b55453c45
branches:
changeset: 7765:519b55453c45
user: Ruslan Ermilov
date: Mon Feb 01 16:42:50 2021 +0300
description:
HTTP/2: lingering close changed to handle NGX_AGAIN.
This part somehow slipped away from c5840ca2063d.
While
details: https://hg.nginx.org/nginx/rev/7efae6b4cfb0
branches:
changeset: 7751:7efae6b4cfb0
user: Ruslan Ermilov
date: Tue Dec 08 01:43:36 2020 +0300
description:
SSL: fixed SSL shutdown on lingering close.
Ensure c->recv is properly reset to ngx_recv if SSL_shutdown()
blo
details: https://hg.nginx.org/nginx/rev/90cc7194e993
branches:
changeset: 7750:90cc7194e993
user: Ruslan Ermilov
date: Fri Nov 27 00:01:20 2020 +0300
description:
Upstream: excluded down servers from the next_upstream tries.
Previously, the number of next_upstream tries included
details: https://hg.nginx.org/nginx/rev/ac09a57ec50d
branches:
changeset: 7749:ac09a57ec50d
user: Ruslan Ermilov
date: Thu Nov 26 23:46:59 2020 +0300
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
On Wed, Nov 11, 2020 at 12:55:30PM -0500, unoobee wrote:
> Ruslan, could you send that patch for "map"? I would like to check it.
The "volatile" parameter of the "map" directive is available since
nginx version 1.11.7.
___
nginx mailing list
details: https://hg.nginx.org/nginx/rev/ed17a2a95c8d
branches:
changeset: 7737:ed17a2a95c8d
user: Ruslan Ermilov
date: Fri Nov 06 23:44:47 2020 +0300
description:
Removed dead code from ngx_http_set_keepalive().
The code removed became dead after 98f03cd8d6cc (0.8.14),
circa when
details: https://hg.nginx.org/nginx/rev/554c6ae25ffc
branches:
changeset: 7738:554c6ae25ffc
user: Ruslan Ermilov
date: Fri Nov 06 23:44:54 2020 +0300
description:
SSL: fixed non-working SSL shutdown on lingering close.
When doing lingering close, the socket was first shut down
details: https://hg.nginx.org/nginx/rev/f1e6f65ddfeb
branches:
changeset: 7727:f1e6f65ddfeb
user: Ruslan Ermilov
date: Tue Oct 13 07:44:09 2020 +0300
description:
Cpp test: added stream.
diffstat:
src/misc/ngx_cpp_test_module.cpp | 2 ++
1 files changed, 2 insertions(+), 0
details: https://hg.nginx.org/nginx/rev/5c7917292b29
branches:
changeset: 7715:5c7917292b29
user: Ruslan Ermilov
date: Sun Sep 27 23:21:10 2020 +0300
description:
Proxy: changed interface of some internal functions.
This is in preparation for the next change.
Also, moved
details: https://hg.nginx.org/nginx/rev/d6a5e14aa3e4
branches:
changeset: 7716:d6a5e14aa3e4
user: Ruslan Ermilov
date: Sun Sep 27 23:21:11 2020 +0300
description:
Proxy: added the "proxy_cookie_flags" directive.
diffstat:
src/http/modules/ngx_http_proxy_modul
details: https://hg.nginx.org/nginx/rev/8dbc9ee97998
branches:
changeset: 7714:8dbc9ee97998
user: Ruslan Ermilov
date: Sun Sep 27 23:21:09 2020 +0300
description:
Proxy: strengthen syntax checking for some directives.
The "false" parameter of the proxy_redirect
details: https://hg.nginx.org/nginx/rev/2f9214713666
branches:
changeset: 7688:2f9214713666
user: balus
date: Mon Jul 27 13:21:51 2020 +0300
description:
Core: enclosed parameters of the ngx_buf.h macros in parentheses.
diffstat:
src/core/ngx_buf.h | 20 ++--
1
On Sat, Jul 18, 2020 at 08:09:30PM +0800, balus wrote:
> # HG changeset patch
> # User balus # Date 1595073121 -28800
> # Sat Jul 18 19:52:01 2020 +0800
> # Node ID 92d9878c0c7549345f0a144cd81a6b6d45f21fc6
> # Parent 32a343635b50662979975e1204417bb1fc7e1b1f
> Core: enclosed parameters of macros
On Mon, Jun 22, 2020 at 06:09:14PM +0300, Ruslan Ermilov wrote:
> On Thu, May 21, 2020 at 09:45:24PM +0800, Jim T wrote:
> > Hello!
> >
> > As far as I understand it, `ngx_create_pidfile` is a function that works
> > independently. There is no action to close the
details: https://hg.nginx.org/nginx/rev/4f30f75dbdf3
branches:
changeset: 7685:4f30f75dbdf3
user: Ruslan Ermilov
date: Tue Jul 21 20:34:29 2020 +0300
description:
Core: close PID file when writing fails.
Reported by Jinhua Tan.
diffstat:
src/core/ngx_cycle.c | 7 +--
1
details: https://hg.nginx.org/nginx/rev/c5840ca2063d
branches:
changeset: 7673:c5840ca2063d
user: Ruslan Ermilov
date: Fri Jul 03 16:16:47 2020 +0300
description:
HTTP/2: lingering close after GOAWAY.
After sending the GOAWAY frame, a connection is now closed using
the lingering
.addr);
> -return NGX_ERROR;
> +goto failed;
> }
>
> if (rc == NGX_BUSY) {
> _______
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
--
Ruslan Ermilov
Assume
details: https://hg.nginx.org/nginx/rev/7e0719fb528b
branches:
changeset: 7671:7e0719fb528b
user: Eran Kornblau
date: Mon Jun 15 03:58:31 2020 -0400
description:
Fixed potential leak of temp pool.
In case ngx_hash_add_key() fails, need to goto failed instead of returning,
so that
On Thu, May 21, 2020 at 09:45:24PM +0800, Jim T wrote:
> Hello!
>
> As far as I understand it, `ngx_create_pidfile` is a function that works
> independently. There is no action to close the pid file externally, so we
> need to close the pid file when the writing it failed. There are also
>
Hi there,
On Mon, Apr 27, 2020 at 04:26:31PM -0700, Thibault Charbonnier wrote:
> On 4/25/20 6:12 PM, Maxim Dounin wrote:
> > A better approach might be to check parent's pid instead, much
> > like we do when handling the changebin signal on unix (see
> > src/os/unix/ngx_process.c).
>
> Great!
details: https://hg.nginx.org/nginx/rev/7cbf6389194b
branches:
changeset: 7663:7cbf6389194b
user: Ruslan Ermilov
date: Mon Jun 01 22:31:23 2020 +0300
description:
Fixed SIGQUIT not removing listening UNIX sockets (closes #753).
Listening UNIX sockets were not removed on graceful
details: https://hg.nginx.org/nginx/rev/9c038f5e0464
branches:
changeset: 7662:9c038f5e0464
user: Ruslan Ermilov
date: Mon Jun 01 20:19:27 2020 +0300
description:
Fixed removing of listening UNIX sockets when "changing binary".
When changing binary, sending a SIGTERM
details: https://hg.nginx.org/nginx/rev/2096b21fcd10
branches:
changeset: 7646:2096b21fcd10
user: Ruslan Ermilov
date: Thu Apr 23 15:10:24 2020 +0300
description:
gRPC: RST_STREAM(NO_ERROR) handling (ticket #1792).
As per https://tools.ietf.org/html/rfc7540#section-8.1,
: A server
details: https://hg.nginx.org/nginx/rev/716eddd74bc2
branches:
changeset: 7647:716eddd74bc2
user: Ruslan Ermilov
date: Thu Apr 23 15:10:26 2020 +0300
description:
gRPC: WINDOW_UPDATE after END_STREAM handling (ticket #1797).
As per https://tools.ietf.org/html/rfc7540#section-6.9
details: https://hg.nginx.org/nginx/rev/ed3a10cf88e8
branches:
changeset: 7645:ed3a10cf88e8
user: Ruslan Ermilov
date: Thu Apr 23 15:10:21 2020 +0300
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
details: https://hg.nginx.org/nginx/rev/681b78a98a52
branches:
changeset: 7638:681b78a98a52
user: Ruslan Ermilov
date: Wed Apr 08 01:02:17 2020 +0300
description:
The new auth_delay directive for delaying unauthorized requests.
The request processing is delayed by a timer. Since
details: https://hg.nginx.org/nginx/rev/0cb942c1c1aa
branches:
changeset: 7637:0cb942c1c1aa
user: Ruslan Ermilov
date: Fri Mar 13 02:12:10 2020 +0300
description:
Auth basic: explicitly zero out password buffer.
diffstat:
src/http/modules/ngx_http_auth_basic_module.c | 37
details: https://hg.nginx.org/nginx/rev/2a9aeb3426c3
branches:
changeset: 7636:2a9aeb3426c3
user: Ruslan Ermilov
date: Mon Mar 16 12:41:41 2020 +0300
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
On Mon, Jan 20, 2020 at 08:27:42PM +0800, Zexuan Luo wrote:
> # HG changeset patch
> # User spacewander
> # Date 1579523127 -28800
> # Mon Jan 20 20:25:27 2020 +0800
> # Branch ident
> # Node ID 86dbfc59e9c01608244c4fdc0d9a87fd9d330648
> # Parent 4fb5603514f2d324c50cb7e12c6ed0dc8935de0f
>
details: https://hg.nginx.org/nginx/rev/8a7b59347401
branches:
changeset: 7618:8a7b59347401
user: Daniil Bondarev
date: Tue Jan 14 14:20:08 2020 +0300
description:
HTTP/2: removed ngx_debug_point() call.
With the recent change to prevent frames flood in d4448892a294,
nginx will
On Tue, Dec 24, 2019 at 08:00:26PM +0100, Marcin Kozlowski wrote:
> Thanks.
>
> Works. For the reference, this is the code I used:
>
> ngx_uint_t n;
> ngx_table_elt_t **h;
> ngx_array_t a;
> a = req->headers_in.x_forwarded_for;
> n = a.nelts;
> h = a.elts;
>
>
> for (i = 0; i
On Mon, Dec 23, 2019 at 11:04:43PM +0100, Marcin Kozlowski wrote:
> Hi List,
>
> How to get x_forwarded_for sent in the request in NGINX module (NAXSI in
> particular):
>
> My attempt:
>
> ngx_log_error(NGX_LOG_ERR, req->connection->log,
> 0, "test %s", (char
details: https://hg.nginx.org/nginx/rev/4718a646187a
branches:
changeset: 7608:4718a646187a
user: Sergey A. Osokin
date: Mon Dec 23 18:56:21 2019 +0300
description:
Update manpage, sort command line options.
diffstat:
docs/man/nginx.8 | 15 ---
1 files changed, 8
details: https://hg.nginx.org/nginx/rev/d0d6cf5031a3
branches:
changeset: 7607:d0d6cf5031a3
user: Ruslan Ermilov
date: Mon Dec 23 15:45:46 2019 +0300
description:
Discard request body when redirecting to a URL via error_page.
Reported by Bert JW Regeer and Francisco Oca Gonzalez
details: https://hg.nginx.org/nginx/rev/db8df9cd84c8
branches:
changeset: 7606:db8df9cd84c8
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Rewrite: disallow empty replacements.
While empty replacements were caught at run-time, parsing code
of the "re
details: https://hg.nginx.org/nginx/rev/02a539522be4
branches:
changeset: 7605:02a539522be4
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Tolerate '\0' in URI when mapping URI to path.
If a rewritten URI has the null character, only a part of URI was
copied
details: https://hg.nginx.org/nginx/rev/7aa20af4ac00
branches:
changeset: 7604:7aa20af4ac00
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Rewrite: fixed segfault with rewritten URI and "alias".
The "alias" directive cannot be used in the
details: https://hg.nginx.org/nginx/rev/e55e28e6998f
branches:
changeset: 7603:e55e28e6998f
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Fixed request finalization in ngx_http_index_handler().
Returning 500 instead of NGX_ERROR is preferable here because
details: https://hg.nginx.org/nginx/rev/b399246ea45d
branches:
changeset: 7602:b399246ea45d
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Saved some memory allocations.
In configurations when "root" has variables, some modules unnecessarily
alloca
details: https://hg.nginx.org/nginx/rev/c1a7d3672653
branches:
changeset: 7601:c1a7d3672653
user: Ruslan Ermilov
date: Mon Dec 16 15:19:01 2019 +0300
description:
Dav: fixed Location in successful MKCOL response.
Instead of reducing URI length to not include the terminating '\0
On Wed, Dec 18, 2019 at 06:35:35PM +0100, Gábor Boskovits wrote:
> Hello Maxim,
>
> Maxim Dounin ezt írta (időpont: 2019. dec. 18.,
> Sze, 18:24):
> >
> > Hello!
> >
> > On Mon, Dec 16, 2019 at 03:02:37PM +0100, Gábor Boskovits wrote:
> >
> > > On berlin.guix.gnu.org we observed a regression
On Mon, Dec 16, 2019 at 05:45:55PM +, Jasper Wallace wrote:
> We are having intermittent problems uploading files via nginx to a
> flask backend over http2:
>
> 2019/12/16 16:07:08 [debug] 27658#27658: *1 event timer: 3, old:
> 1576512608187, new: 1576512608301
> 2019/12/16 16:07:08 [debug]
On Sun, Dec 01, 2019 at 04:41:23AM +0300, Sergey A. Osokin wrote:
> # HG changeset patch
> # User Sergey A. Osokin
> # Date 1575163872 -10800
> # Sun Dec 01 04:31:12 2019 +0300
> # Node ID 477a78d1b14e415a80b6bfb3d829eb408f33f390
> # Parent d13eddd9e2529b4bc30dc00aad959bd10ced4c33
> Update
не подходит и фаза POST_ACCESS (её также может не быть).
Остаётся убрать это в CONTENT-фазу, но насколько это хорошее изменение,
я пока не до конца понимаю.
Proof of concept патч:
# HG changeset patch
# User Ruslan Ermilov
# Date 1573570198 -10800
# Tue Nov 12 17:49:58 2019 +0300
# Node
details: https://hg.nginx.org/nginx/rev/79bcbe7cd3f2
branches:
changeset: 7578:79bcbe7cd3f2
user: Ruslan Ermilov
date: Tue Oct 08 21:56:14 2019 +0300
description:
The "/." and "/.." at the end of URI should be normalized.
diffstat:
src/http/ng
details: https://hg.nginx.org/nginx/rev/5a3426683251
branches:
changeset: 7577:5a3426683251
user: Ruslan Ermilov
date: Tue Oct 08 21:56:14 2019 +0300
description:
Improved detection of broken percent encoding in URI.
diffstat:
src/http/ngx_http_parse.c | 4
1 files changed
details: https://hg.nginx.org/nginx/rev/d6cf51af8a3d
branches:
changeset: 7570:d6cf51af8a3d
user: Ruslan Ermilov
date: Mon Sep 23 15:45:32 2019 +0300
description:
HTTP/2: fixed possible alert about left open socket on shutdown.
This could happen when graceful shutdown configured
details: https://hg.nginx.org/nginx/rev/ab5cac9d3f00
branches:
changeset: 7571:ab5cac9d3f00
user: Ruslan Ermilov
date: Mon Sep 23 15:45:36 2019 +0300
description:
HTTP/2: fixed worker_shutdown_timeout.
diffstat:
src/http/v2/ngx_http_v2.c | 5 +
1 files changed, 5 insertions
details: https://hg.nginx.org/nginx/rev/fd6dcc6f8a49
branches:
changeset: 7565:fd6dcc6f8a49
user: Ruslan Ermilov
date: Tue Sep 10 15:33:38 2019 +0300
description:
HTTP/2: close connection on zero WINDOW_UPDATE.
Don't waste server resources by sending RST_STREAM frames. Instead
details: https://hg.nginx.org/nginx/rev/29b2dc731503
branches:
changeset: 7564:29b2dc731503
user: Ruslan Ermilov
date: Tue Sep 10 15:33:37 2019 +0300
description:
HTTP/2: close connection on frames with self-dependency.
Don't waste server resources by sending RST_STREAM frames
On Mon, Sep 02, 2019 at 05:45:59PM +, Jayarajan, Keerthi (AT ASP RTC) wrote:
> Hi,
>
> I'm working in blockchain project for Honeywell. We have blockchain nodes
> hosted in our cloud. These nodes should connect and talk to external node and
> vice versa. We are using Nginx as Reverse proxy
details: https://hg.nginx.org/nginx/rev/b82162b8496a
branches:
changeset: 7503:b82162b8496a
user: Ruslan Ermilov
date: Wed Apr 24 16:38:51 2019 +0300
description:
Added ngx_http_set_complex_value_size_slot().
If a complex value is expected to be of type size_t, and the compiled
details: https://hg.nginx.org/nginx/rev/16a1adadf437
branches:
changeset: 7505:16a1adadf437
user: Ruslan Ermilov
date: Wed Apr 24 16:38:56 2019 +0300
description:
Variables support in proxy_upload_rate and proxy_download_rate.
diffstat:
src/stream/ngx_stream_proxy_module.c | 31
details: https://hg.nginx.org/nginx/rev/c19ca381b2e6
branches:
changeset: 7504:c19ca381b2e6
user: Ruslan Ermilov
date: Wed Apr 24 16:38:54 2019 +0300
description:
Variables support in limit_rate and limit_rate_after (ticket #293).
diffstat:
src/http/ngx_http_core_module.c
_OK)
> > +{
> > +if (limit_rate != (size_t) NGX_ERROR) {
> > +r->limit_rate_after = limit_rate;
> > +
> > +} else if (val.len) {
> >
> > Please, merge your path to master branch.
> >
> > Best regards
> > M. N
details: https://hg.nginx.org/nginx/rev/d864ee67b5ae
branches:
changeset: 7451:d864ee67b5ae
user: Ruslan Ermilov
date: Tue Dec 25 15:26:58 2018 +0300
description:
Use %s for errors returned from configuration parsing handlers.
diffstat:
src/core/ngx_conf_file.c | 2 +-
1 files
https://hg.nginx.org/nginx/rev/e573d74299a0
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
details: https://hg.nginx.org/nginx/rev/e573d74299a0
branches:
changeset: 7429:e573d74299a0
user: Ruslan Ermilov
date: Thu Dec 13 17:23:07 2018 +0300
description:
Upstream: implemented $upstream_bytes_sent.
diffstat:
src/http/ngx_http_upstream.c | 15 +++
src/http
ffered proxying combined with limit_rate set.
> if (r->limit_rate) {
> if (r->limit_rate_after == 0
> && clcf->limit_rate_after
> @@ -227,7 +246,7 @@
> _rate_after)
> == NGX_OK)
&g
ere were questions if such a variable is actually needed -
> I think we are aware of at most one feature request for this:
>
> http://mailman.nginx.org/pipermail/nginx/2018-March/055940.html
>
> I've asked Ruslan to post his version of the patch (or, rather, a
> patch series)
On Sun, Nov 18, 2018 at 09:53:25PM +, Jaroslav Skřivan wrote:
> Hi,
>
> I found this path
> http://mailman.nginx.org/pipermail/nginx-devel/2018-October/011505.html
> very useful in our environment.
>
> I would love to have it in upstream. What can I do in order to make it
> happe?
>
>
, also the while patch series
became a single patch.
I've updated my version of the patch series. You can help with the
code review and testing, if you like:
# HG changeset patch
# User Ruslan Ermilov
# Date 1542721399 -10800
# Tue Nov 20 16:43:19 2018 +0300
# Node ID 9926926b9d63c8cc977987
details: http://hg.nginx.org/nginx/rev/650574a44505
branches:
changeset: 7394:650574a44505
user: Ruslan Ermilov
date: Thu Nov 15 15:28:54 2018 +0300
description:
Core: free shared memory on cycle initialization failure.
diffstat:
src/core/ngx_cycle.c | 64
details: http://hg.nginx.org/nginx/rev/7bf3c323cb6e
branches:
changeset: 7366:7bf3c323cb6e
user: Ruslan Ermilov
date: Tue Oct 02 13:32:52 2018 +0300
description:
Fixed off-by-one error in shared zone initialization.
On systems without atomic ops, not enough space was allocated
details: http://hg.nginx.org/nginx/rev/cd4fa2fab8d8
branches:
changeset: 7365:cd4fa2fab8d8
user: Ruslan Ermilov
date: Tue Sep 25 14:07:59 2018 +0300
description:
SSL: fixed unlocked access to sess_id->len.
diffstat:
src/event/ngx_event_openssl.c | 7 +--
1 files changed
details: http://hg.nginx.org/nginx/rev/5fa22beeaf11
branches:
changeset: 7364:5fa22beeaf11
user: Ruslan Ermilov
date: Thu Sep 27 13:05:39 2018 +0300
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines
On Mon, Sep 24, 2018 at 08:44:15AM +, Elza Scarlet wrote:
> Dear Development Team,
>
> Thanks all of you make nginx so nice to use. We have a use case, we use hash
> balancing method to increasing service's cache hit rate, but it doesn't
> support "backup" parameter, which can be use to make
On Tue, Aug 28, 2018 at 09:21:31AM +0200, Miroslav Novy wrote:
> Hi,
> thank you for your patch. I will look at it. Why did not you merge him to
> repository?
Because nobody indicated interest, nor has made a necessary code review.
___
nginx-devel
)
> +!= NGX_OK)
> +{
> +return NGX_ERROR;
> +}
> +
> +st = ngx_parse_size();
> +if (st != (size_t) NGX_ERROR) {
> +r->limit_rate_after = st;
> +} else {
> +
ля.
>
> Впрочем, я сильно сомневаюсь, что разница будет хоть как-то
> измерима по сравнению с собственно обработкой запроса даже в этом
> случае, не говоря уже про общий. Так что выбирать стоит скорее
> исходя из удобства поддержки всего этого х
details: http://hg.nginx.org/nginx/rev/45e513c3540d
branches:
changeset: 7321:45e513c3540d
user: Ruslan Ermilov
date: Tue Jul 17 15:30:43 2018 +0300
description:
Fixed invalid access to location defined as an empty string.
diffstat:
src/http/modules/ngx_http_fastcgi_module.c
details: http://hg.nginx.org/nginx/rev/e45f09198dab
branches:
changeset: 7313:e45f09198dab
user: Ruslan Ermilov
date: Thu Jul 12 12:50:20 2018 +0300
description:
Allow resetting connections closed by "return 444" (ticket #905).
If reset_timedout_connection is on, TCP c
ing poll() for this could be one
of the options, the existing SIGIO mechanism is another one.
> On Thu, Jun 28, 2018 at 4:47 AM Ruslan Ermilov wrote:
> >
> > On Thu, Jun 28, 2018 at 12:27:40PM +0300, Ruslan Ermilov wrote:
> > > On Wed, Jun 27, 2018 at 01:40:26PM -0700, Ian
details: http://hg.nginx.org/nginx/rev/5c2ac36fcf56
branches:
changeset: 7304:5c2ac36fcf56
user: Ruslan Ermilov
date: Mon Jul 02 13:54:33 2018 +0300
description:
Added FreeBSD support for "listen ... reuseport".
diffstat:
src/core/ngx_connecti
On Thu, Jun 28, 2018 at 12:27:40PM +0300, Ruslan Ermilov wrote:
> On Wed, Jun 27, 2018 at 01:40:26PM -0700, Ian Gudger wrote:
> > Sorry, I understand now.
> >
> > Here is a new patch which removes that too:
> >
> > # HG changeset patch
> > # User
ss.c b/src/os/unix/ngx_process.c
[...]
> @@ -433,8 +411,6 @@ ngx_signal_handler(int signo, siginfo_t
>
> case ngx_signal_value(NGX_RECONFIGURE_SIGNAL):
> case ngx_signal_value(NGX_CHANGEBIN_SIGNAL):
> -case SIGIO:
> -action = ", ignoring";
>
se {
> I ran the tests with this patch and they all passed. Receiving signals
> isn't free, so this patch may improve performance.
Highly unlikely in this particular case.
If you want, you can update your patch.
> On Wed, Jun 27, 2018 at 5:57 AM Ruslan Ermilov wrote:
> >
>
On Wed, Jun 27, 2018 at 03:08:50PM +0200, basti wrote:
> Hello,
> I have a config like:
>
> server {
>
> ...
> # combine basic auth and ip whitelisting
> #
> https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
> satisfy any;
> allow ;
>
On Mon, Jun 25, 2018 at 11:16:12AM -0700, Ian Gudger via nginx-devel wrote:
> # HG changeset patch
> # User Ian Gudger
> # Date 1529449008 25200
> # Tue Jun 19 15:56:48 2018 -0700
> # Node ID 9427538acbc50142afbe91a11a1d4f907a00d257
> # Parent 118885f7a5774962f1145693d9c26a4c199ca6ea
>
details: http://hg.nginx.org/nginx/rev/ed599ea6c1f1
branches:
changeset: 7300:ed599ea6c1f1
user: Ruslan Ermilov
date: Thu Jun 14 07:03:50 2018 +0300
description:
Upstream: improved peer selection concurrency for hash and ip_hash.
diffstat:
src/http/modules
On Fri, Jun 08, 2018 at 11:29:05AM +0800, 洪志道 wrote:
> Hi.
>
> diff -r 8e6bb4e6045f src/http/ngx_http_variables.c
> --- a/src/http/ngx_http_variables.c Thu Jun 07 20:04:22 2018 +0300
> +++ b/src/http/ngx_http_variables.c Thu Jun 07 12:20:05 2018 -0400
> @@ -1420,25 +1420,11 @@
>
details: http://hg.nginx.org/nginx/rev/21ad2af3262c
branches:
changeset: 7294:21ad2af3262c
user: Ruslan Ermilov
date: Thu Jun 07 19:53:43 2018 +0300
description:
Removed extraneous check while processing request line.
diffstat:
src/http/ngx_http_request.c | 2 +-
1 files changed
details: http://hg.nginx.org/nginx/rev/8e6bb4e6045f
branches:
changeset: 7296:8e6bb4e6045f
user: Ruslan Ermilov
date: Thu Jun 07 20:04:22 2018 +0300
description:
HTTP/2: use scheme from original request for pushes (closes #1549).
Instead of the connection scheme, use scheme from
details: http://hg.nginx.org/nginx/rev/89430899c72a
branches:
changeset: 7295:89430899c72a
user: Ruslan Ermilov
date: Thu Jun 07 20:01:41 2018 +0300
description:
Added r->schema.
For HTTP/1, it keeps scheme from the absolute form of URI.
For HTTP/2, the :scheme request pse
details: http://hg.nginx.org/nginx/rev/f9661f56c717
branches:
changeset: 7292:f9661f56c717
user: Ruslan Ermilov
date: Thu May 24 12:06:35 2018 +0300
description:
Allowed digits, '+', '-', and '.' in scheme names as per RFC 3986.
diffstat:
src/http/ngx_http_parse.c | 5 +
1
1 - 100 of 541 matches
Mail list logo