Welcome! Log In Create A New Profile

Advanced

[njs] Stream: removed unused field ctx->from_upstream.

Dmitry Volyntsev
August 10, 2022 11:10PM
details: https://hg.nginx.org/njs/rev/358e048185d8
branches:
changeset: 1926:358e048185d8
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Wed Aug 10 20:03:54 2022 -0700
description:
Stream: removed unused field ctx->from_upstream.

diffstat:

nginx/ngx_stream_js_module.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 335ff5a4539d -r 358e048185d8 nginx/ngx_stream_js_module.c
--- a/nginx/ngx_stream_js_module.c Mon Aug 08 23:18:51 2022 -0700
+++ b/nginx/ngx_stream_js_module.c Wed Aug 10 20:03:54 2022 -0700
@@ -64,7 +64,6 @@ typedef struct {
#define NGX_JS_EVENT_DOWNLOAD 1
#define NGX_JS_EVENT_MAX 2
ngx_stream_js_ev_t events[2];
- unsigned from_upstream:1;
unsigned filter:1;
unsigned in_progress:1;
} ngx_stream_js_ctx_t;
@@ -671,7 +670,6 @@ ngx_stream_js_body_filter(ngx_stream_ses
}

ctx->filter = 1;
- ctx->from_upstream = from_upstream;

ctx->last_out = &out;

_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[njs] Stream: removed unused field ctx->from_upstream.

Dmitry Volyntsev 277 August 10, 2022 11:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 114
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready