DescriptionNet: Stop treating partial HTTP headers as a valid response.
For now, we return ERR_RESPONSE_HEADERS_TRUNCATED in this case. Longer
term, we probably want to get rid of the extra code to detect when this
happens.
Also do a bit of cleanup in HttpStreamParser's error handling code.
BUG=472762
Committed: https://crrev.com/854d9c86cc897fdf55ea917d2aed2070e9235dac
Cr-Commit-Position: refs/heads/master@{#341744}
Patch Set 1 #Patch Set 2 : Fix tests #Patch Set 3 : Fix more tests #Patch Set 4 : Missed a test #Patch Set 5 : Fix tests #
Total comments: 1
Patch Set 6 : Fix < 8-byte HTTP/0.9 responses over HTTPS #
Total comments: 7
Patch Set 7 : Response to comments #
Messages
Total messages: 23 (9 generated)
|