BUG/MEDIUM: http: do not restrict parsing of transfer-encoding to HTTP/1.1
authorWilly Tarreau <w@1wt.eu>
Fri, 1 May 2015 08:06:30 +0000 (10:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2015 11:56:10 +0000 (13:56 +0200)
commit4979d5c5d100e7064862d2f586b65184d68bcd75
tree97027a8f32fd791a08b9b22d9100af9fb56ef801
parent557f199fb72777baf789bf662359735ddbf3b2aa
BUG/MEDIUM: http: do not restrict parsing of transfer-encoding to HTTP/1.1

While Transfer-Encoding is HTTP/1.1, we must still parse it in HTTP/1.0
in case an agent sends it, because it's likely that the other side might
use it as well, causing confusion. This will also result in getting rid
of the Content-Length header in such abnormal situations and in having
a clean connection.

This must be backported to 1.5 and 1.4.
src/proto_http.c