]> git.kaiwu.me - njs.git/commitdiff
Stream: removed unused field ctx->from_upstream.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 11 Aug 2022 03:03:54 +0000 (20:03 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 11 Aug 2022 03:03:54 +0000 (20:03 -0700)
nginx/ngx_stream_js_module.c

index 44aebae694f32cc373ce90ec2bd2c3ea1f90b939..5f092dd6282434ecbea36ae75aa4af877e588706 100644 (file)
@@ -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;