[MINOR] used http_flush_cookie_flags() instead of a dirty code block
This commit is contained in:
parent
3d300596bb
commit
a5e65754e6
|
@ -2125,10 +2125,7 @@ int process_srv(struct session *t)
|
||||||
|
|
||||||
t->flags &= ~(SN_DIRECT | SN_ASSIGNED | SN_ADDR_SET);
|
t->flags &= ~(SN_DIRECT | SN_ASSIGNED | SN_ADDR_SET);
|
||||||
t->srv = NULL; /* it's left to the dispatcher to choose a server */
|
t->srv = NULL; /* it's left to the dispatcher to choose a server */
|
||||||
if ((txn->flags & TX_CK_MASK) == TX_CK_VALID) {
|
http_flush_cookie_flags(txn);
|
||||||
txn->flags &= ~TX_CK_MASK;
|
|
||||||
txn->flags |= TX_CK_DOWN;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* first, get a connection */
|
/* first, get a connection */
|
||||||
if (srv_redispatch_connect(t))
|
if (srv_redispatch_connect(t))
|
||||||
|
|
Loading…
Reference in New Issue