Fix GH-9316: $http_response_header is wrong for long status line While the reason-phrase in a HTTP response status line is usually short, there is no actual limit specified by the RFCs.
Fix GH-9316: $http_response_header is wrong for long status line While the reason-phrase in a HTTP response status line is usually short, there is no actual limit specified by the RFCs. As such, we must not assume that the line fits into the buffer (which is currently 128 bytes large). Since there is no real need to present the complete status line, we simply read and discard the rest of a long line. Co-authored-by: Tim Düsterhus <timwolla@googlemail.com> Closes GH-9319.
show more ...
|