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

Dmitry Volyntsev xeioex at nginx.com
Thu Aug 11 03:07:33 UTC 2022


details:   https://hg.nginx.org/njs/rev/358e048185d8
branches:  
changeset: 1926:358e048185d8
user:      Dmitry Volyntsev <xeioex at 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;
 



More information about the nginx-devel mailing list