mirror of
https://github.com/nginx/nginx.git
synced 2026-08-31 09:06:25 +00:00
axe r->connection->destroyed testing
This commit is contained in:
parent
b603dd4b43
commit
5297d456d8
6 changed files with 7 additions and 64 deletions
|
|
@ -454,10 +454,6 @@ ngx_event_pipe_write_to_downstream(ngx_event_pipe_t *p)
|
|||
|
||||
rc = p->output_filter(p->output_ctx, p->out);
|
||||
|
||||
if (downstream->destroyed) {
|
||||
return NGX_ABORT;
|
||||
}
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
p->downstream_error = 1;
|
||||
return ngx_event_pipe_drain_chains(p);
|
||||
|
|
@ -476,10 +472,6 @@ ngx_event_pipe_write_to_downstream(ngx_event_pipe_t *p)
|
|||
|
||||
rc = p->output_filter(p->output_ctx, p->in);
|
||||
|
||||
if (downstream->destroyed) {
|
||||
return NGX_ABORT;
|
||||
}
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
p->downstream_error = 1;
|
||||
return ngx_event_pipe_drain_chains(p);
|
||||
|
|
@ -624,10 +616,6 @@ ngx_event_pipe_write_to_downstream(ngx_event_pipe_t *p)
|
|||
|
||||
rc = p->output_filter(p->output_ctx, out);
|
||||
|
||||
if (downstream->destroyed) {
|
||||
return NGX_ABORT;
|
||||
}
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
p->downstream_error = 1;
|
||||
return ngx_event_pipe_drain_chains(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue