summaryrefslogtreecommitdiffstats
path: root/net/third_party
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 18:53:47 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 18:53:47 +0000
commit5c6908ef3647da22139e04acdb75181f0452dcaf (patch)
treecb5caeda6da4a9b1f1910a889508941abfd7127c /net/third_party
parente9e86ccc527453d6101fe03a0f4135c611ae63bb (diff)
downloadchromium_src-5c6908ef3647da22139e04acdb75181f0452dcaf.zip
chromium_src-5c6908ef3647da22139e04acdb75181f0452dcaf.tar.gz
chromium_src-5c6908ef3647da22139e04acdb75181f0452dcaf.tar.bz2
SPDY - Handle incomplete headers during server push.
If we receive a data frame without a status or without a version header, we close the stream with a PROTOCOL ERROR. Small bug fix to HttpNetworkTransaction to access the ResponseHeaders only if headers are there. In SpdyStream, retrun a SPDY_PROTOCOL_ERROR if we have pending data frames, but we haven't received "status" and "version" headers. (rch: removed the DCHECK for unit tests). SpdyHttpStream's OnDataReceived used to expect that it would be called only when all required headers are received. Converted the DCHECK into an error condition and SpdyStream closes the stream with PROTOCOL ERROR if OnDataReceived returns a network error. BUG=135485 R=rch@chromium.org TEST=network unittests Review URL: https://chromiumcodereview.appspot.com/10836084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/third_party')
0 files changed, 0 insertions, 0 deletions