DescriptionPreviously, an unparseable status line would give an "Unexpected
response code: 200" console error, which didn't make much sense.
This is because HttpStreamParser synthesises an "HTTP/0.9 200 OK" status line if it doesn't see the string "HTTP" within the first 8 bytes of the response.
Use a specific "Invalid status line" error message in this case instead.
BUG=345568
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252536
Patch Set 1 #Patch Set 2 : Update WebSocketStreamCreateTest.MalformedResponse #
Messages
Total messages: 5 (0 generated)
|