From: Willy Tarreau Date: Sun, 18 Mar 2007 19:53:22 +0000 (+0100) Subject: [MINOR] used http_flush_cookie_flags() instead of a dirty code block X-Git-Tag: v1.3.8~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5e65754e6354f8e7d1606824f062a1c547bd3d3;p=thirdparty%2Fhaproxy.git [MINOR] used http_flush_cookie_flags() instead of a dirty code block --- diff --git a/src/proto_http.c b/src/proto_http.c index eb2c0d5646..ad5188aea1 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2125,10 +2125,7 @@ int process_srv(struct session *t) t->flags &= ~(SN_DIRECT | SN_ASSIGNED | SN_ADDR_SET); t->srv = NULL; /* it's left to the dispatcher to choose a server */ - if ((txn->flags & TX_CK_MASK) == TX_CK_VALID) { - txn->flags &= ~TX_CK_MASK; - txn->flags |= TX_CK_DOWN; - } + http_flush_cookie_flags(txn); /* first, get a connection */ if (srv_redispatch_connect(t))