]> git.saurik.com Git - apt.git/commit - methods/server.cc
Only enable pipelining if server is HTTP/1.1
authorJulian Andres Klode <jak@debian.org>
Tue, 12 Jan 2016 14:18:12 +0000 (15:18 +0100)
committerJulian Andres Klode <jak@debian.org>
Tue, 12 Jan 2016 22:40:59 +0000 (23:40 +0100)
commitb6d88f39aceda2e093e1bf8751f07236b7d9e483
tree8ac4947fbf48085fad2bf78ae9ce21d8f844cb15
parentfe4a53782211c459e8a50654055ad4f797ad1f3b
Only enable pipelining if server is HTTP/1.1

Just enabling it for anyone breaks with HTTP/1.0 servers and
proxies sometimes.

Closes: #810796
methods/server.cc
methods/server.h
test/integration/test-http-pipeline-messup