summaryrefslogtreecommitdiffstats
path: root/net/server/web_socket.cc
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: add /json/activate/ command to the discovery protocol.pfeldman@chromium.org2012-12-111-6/+12
| | | | | | | | | | | | | This change adds suppot for /activate command and refactors the json commands handling so that all commands supported jsonp properly. For the jsonp support, we always respond with 200 OK and specify the actual code in the jsonp call parameter. For the above purposes, migrates net/server/http_server from Send404() scheme to Send(net::HTTP_NOT_FOUND). BUG=157495 Review URL: https://chromiumcodereview.appspot.com/11499004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172285 0039d316-1c4b-4281-b951-d872f2087c98
* net: Fix more clang warnings about missing virtual and OVERRIDE annotations.tfarina@chromium.org2012-09-011-6/+6
| | | | | | | | | | BUG=115047 TBR=willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10908051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154615 0039d316-1c4b-4281-b951-d872f2087c98
* Add base::HostToNetXX() & NetToHostXX(), and use them to replace htonX() & ↵wez@chromium.org2012-03-281-2/+2
| | | | | | | | | | | | | | ntohX() in Chrome. This primarily addresses issues with code using the OS-provided htonX() & ntohX() functions from within the Chrome sandbox. Under Windows these functions are provided by ws2_32.dll, which is no longer available within Chrome's sandbox. The new base::HostToNetXX() and NetToHostXX() functions are safe for use by sandboxed code on Windows, and provide a single place where future fixes for other platforms can be made. BUG=117252 Review URL: http://codereview.chromium.org/9716020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129476 0039d316-1c4b-4281-b951-d872f2087c98
* Move net/base/sys_byteorder.h to base/sys_byteorder.hisherman@chromium.org2011-12-281-8/+3
| | | | | | | | | | | | | | Two motivations: (1) There are currently clients in src/crypto that need the same logic. (2) There is soon to be a client in src/chrome/common that needs the 64-bit version of this logic, which is currently inlined in a src/crypto implementation file. BUG=103480 TEST=compiles Review URL: http://codereview.chromium.org/8949026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115926 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Win builder following r111314rsleevi@chromium.org2011-11-231-5/+5
| | | | | | | | | BUG=none TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8677002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111322 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrade DevTools WebSocket server implementation from Hybi10 to Hybi17.loislo@chromium.org2011-10-241-23/+14
| | | | | | | | | | | | | | | | | Hybi-10 (corresponds to Sec-WebSocket-Version: 8) -- "Frames sent from the server to the client are not masked." Hybi-17 (corresponds to Sec-WebSocket-Version: 13) -- "A server MUST NOT mask any frames that it sends to the client. A client MUST close a connection if it detects a masked frame." BUG=101340 TEST=none Review URL: http://codereview.chromium.org/8370035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106918 0039d316-1c4b-4281-b951-d872f2087c98
* Expected version of WebSocket was adjusted for hybi17 that was introduced at ↵loislo@chromium.org2011-10-201-1/+1
| | | | | | | | | | | | | | wk r97249. Now the server implementation of websocket accepts v.8 and v.13 BUG=none TEST=none Review URL: http://codereview.chromium.org/8329017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106580 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: web socket does not expect frames other than text.loislo@chromium.org2011-09-261-3/+21
| | | | | | | | | BUG=97974 TEST=none Review URL: http://codereview.chromium.org/8043023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102736 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: no way to remote debug using ToT build as a client.pfeldman@chromium.org2011-08-021-0/+365
(rebaselined and brushed up loislo's http://codereview.chromium.org/7482041) BUG=90743 TEST= Review URL: http://codereview.chromium.org/7540023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95138 0039d316-1c4b-4281-b951-d872f2087c98