diff --git a/src/proto_http.c b/src/proto_http.c index a37e2909f..5ac9bf3cf 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -4185,8 +4185,6 @@ static int http_apply_redirect_rule(struct redirect_rule *rule, struct stream *s trash.len += 14; memcpy(trash.str + trash.len, rule->cookie_str, rule->cookie_len); trash.len += rule->cookie_len; - memcpy(trash.str + trash.len, "\r\n", 2); - trash.len += 2; } /* add end of headers and the keep-alive/close status.