[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 eb2c0d5..ad5188a 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -2125,10 +2125,7 @@
 
 				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))