aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_stream_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2022-08-10 20:03:54 -0700
committerDmitry Volyntsev <xeioex@nginx.com>2022-08-10 20:03:54 -0700
commit6861f372e04fd451a9abd50d17dc1d2708ea44d8 (patch)
tree4874eaff40765547cb27f1527283286716f813df /nginx/ngx_stream_js_module.c
parentf082adb308da69e1192fda91ba589d80d85707e0 (diff)
downloadnjs-6861f372e04fd451a9abd50d17dc1d2708ea44d8.tar.gz
njs-6861f372e04fd451a9abd50d17dc1d2708ea44d8.zip
Stream: removed unused field ctx->from_upstream.
Diffstat (limited to 'nginx/ngx_stream_js_module.c')
-rw-r--r--nginx/ngx_stream_js_module.c2
1 files changed, 0 insertions, 2 deletions
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;