Commit f4e9fb6e authored by Guillaume Beraudo's avatar Guillaume Beraudo

Let headers incorrectly multiple serialized.

parent fce1b993
......@@ -2083,7 +2083,9 @@ msg_header_t **serialize_one(msg_t *msg, msg_header_t *h, msg_header_t **prev)
}
if ((h = h->sh_next)) {
assert(!msg_is_single(h));
/*assert(!msg_is_single(h));
parser accepts multiple user agent headers
but serializer crashes on them */
if (msg_is_single(h)) {
for (; h; h = h->sh_next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment