[MINOR] used http_flush_cookie_flags() instead of a dirty code block

This commit is contained in:
Willy Tarreau 2007-03-18 20:53:22 +01:00
parent 3d300596bb
commit a5e65754e6
1 changed files with 1 additions and 4 deletions

View File

@ -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))