diff --git a/proxy/http.c b/proxy/http.c index f788e52c..081fefb6 100644 --- a/proxy/http.c +++ b/proxy/http.c @@ -479,7 +479,7 @@ static void proxy_http_process_queue(ProxyNegotiator *pn) crStopV; } - if (maj_ver < 1 && (maj_ver == 1 && min_ver < 1)) { + if (maj_ver < 1 || (maj_ver == 1 && min_ver < 1)) { /* Before HTTP/1.1, connections close by default */ s->connection_close = true; }