net: don't process truncated headers on HTTPS connections.
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 29 May 2013 19:06:53 +0000 (19:06 +0000)
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 29 May 2013 19:06:53 +0000 (19:06 +0000)
commitf4f9f4948de5a59462e13ad712d7d9117238aeea
treee5bf49e38f2eeea560ae20be86912f63ca6a4a22
parent5cce0e4a83ffbc86e4c60f31ad2e5945f5116b3e
net: don't process truncated headers on HTTPS connections.

This change causes us to not process any headers unless they are correctly
terminated with a \r\n\r\n sequence.

BUG=244260

Review URL: https://chromiumcodereview.appspot.com/15688012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202927 0039d316-1c4b-4281-b951-d872f2087c98
net/base/net_error_list.h
net/http/http_proxy_client_socket_pool_spdy2_unittest.cc
net/http/http_proxy_client_socket_pool_spdy3_unittest.cc
net/http/http_stream_parser.cc
net/http/http_stream_parser_unittest.cc