]> git.saurik.com Git - apt.git/commit
close server if parsing of header field failed
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 25 Jun 2016 10:32:11 +0000 (12:32 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 27 Jun 2016 09:43:09 +0000 (11:43 +0200)
commitcc0a4c82b3c132abba9b9ec35fd61bc8b45a1b80
treea5eae170b4404e7e0eb4d06fa8bdf7e6d9587ec5
parenta9e4fd6534a2ae6a5a983df77e5b1efa32f3a756
close server if parsing of header field failed

Seen in #828011 if we fail to parse a header field like Last-Modified we
end up interpreting the data as response header for coming requests in
case we don't rotate to a new server in DNS rotation.
methods/server.cc