mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-28 03:21:53 +01:00
BUILD: spoe: Remove unsused variable
Since 7a1382da7 ("BUG/MINOR: spoe: Fix condition to abort processing on
client abort"), the chn variable is no longer used in
spoe_process_event(). Let's remove it
This patch must be backported with the commit above, as far as 3.1.
This commit is contained in:
parent
7a1382da79
commit
15cdcab1fc
@ -1113,8 +1113,6 @@ static int spoe_process_event(struct stream *s, struct spoe_context *ctx,
|
||||
agent->counters.nb_errors, agent->counters.nb_processed);
|
||||
}
|
||||
else if (ret == 0) {
|
||||
struct channel *chn = (dir == SMP_OPT_DIR_REQ) ? &s->req : &s->res;
|
||||
|
||||
if ((s->scf->flags & SC_FL_ERROR) ||
|
||||
((s->scf->flags & (SC_FL_EOS|SC_FL_ABRT_DONE)) && proxy_abrt_close_def(s->be, 1))) {
|
||||
ctx->status_code = SPOE_CTX_ERR_INTERRUPT;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user