| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
(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
|