diff --git a/src/h1.c b/src/h1.c index 83afb14eb..15827db56 100644 --- a/src/h1.c +++ b/src/h1.c @@ -833,7 +833,7 @@ int h1_headers_to_hdr_list(char *start, const char *stop, break; } } - else if (isteqi(n, ist("host"))) { + else if (!(h1m->flags & H1_MF_RESP) && isteqi(n, ist("host"))) { if (host_idx == -1) { struct ist authority;