From: Dmitry Volyntsev Date: Thu, 11 Aug 2022 03:03:54 +0000 (-0700) Subject: Stream: removed unused field ctx->from_upstream. X-Git-Tag: 0.7.7~14 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=6861f372e04fd451a9abd50d17dc1d2708ea44d8;p=njs.git Stream: removed unused field ctx->from_upstream. --- diff --git a/nginx/ngx_stream_js_module.c b/nginx/ngx_stream_js_module.c index 44aebae6..5f092dd6 100644 --- a/nginx/ngx_stream_js_module.c +++ b/nginx/ngx_stream_js_module.c @@ -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_session_t *s, ngx_chain_t *in, } ctx->filter = 1; - ctx->from_upstream = from_upstream; ctx->last_out = &out;