commit | 3de6509dff53d3ede7056b0ad02552e4eae00491 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Oct 24 09:39:44 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Oct 24 09:39:44 2013 |
tree | edeca71034ffbfdef86ede29032d60cbf6c1181e | |
parent | ec0b0126e9c3bea9fcdf1db2339296e9cb91135c [diff] |
Add checks for valid close status and reason. Check the status code sent by the renderer is valid. Also check that the length of the close reason is 123 bytes or less. BUG=230756 TEST=net_unittests --gtest_filter=WebSocketCommon* Review URL: https://codereview.chromium.org/36613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230688 0039d316-1c4b-4281-b951-d872f2087c98