diff --git a/header.go b/header.go index b6d8ffec92..4555412ef3 100644 --- a/header.go +++ b/header.go @@ -1473,7 +1473,7 @@ func (h *RequestHeader) setSpecialHeader(key, value []byte) bool { return true case caseInsensitiveCompare(strCookie, key): h.collectCookies() - h.cookies = parseRequestCookies(h.cookies, value) + h.cookies = parseRequestCookies(make([]argsKV, 0), value) return true } case 't':