summaryrefslogtreecommitdiffstats
path: root/net/server/http_server.cc
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: add /json/activate/ command to the discovery protocol.pfeldman@chromium.org2012-12-111-22/+8
| | | | | | | | | | | | | 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
* Add a menu item to content_shell to open devtools to make it more discoverable.jam@chromium.org2012-08-091-2/+5
| | | | | | | | | | | Since the devtools server is running for each content shell browser process, the user doesn't specify a server port anymore. Instead I let the system pick. This made it necessary to plumb the data back from net::HttpServer. For now I only added Windows and Linux UI. Mac UI will be done later. BUG=90445 Review URL: https://chromiumcodereview.appspot.com/10837177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150808 0039d316-1c4b-4281-b951-d872f2087c98
* Decouple DevTools from socket implementation.pliard@chromium.org2012-05-231-9/+8
| | | | | | | | | | | | | | This is part of Chrome for Android upstreaming. This will let us use a UnixDomainSocket for DevTools on Android. Note that this CL depends on CL 10161005 (which should land soon). TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10386048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138497 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor TCPListenSocket.pliard@chromium.org2012-05-161-5/+5
| | | | | | | | | | | | | | | This is part of Chrome for Android upstreaming. This CL adds a common base class, StreamListenSocket, providing a default implementation inherited by TCPListenSocket and the upcoming UnixDomainSocket. That lets us share the common code used by both TCPListenSocket and UnixDomainSocket. This also removes the recently introduced ListenSocket class which is unnecessary now we have StreamListenSocket. TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10161005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137387 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, net/rsleevi@chromium.org2012-04-281-88/+88
| | | | | | | | | | BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10066045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134460 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream changes making ListenSocket an abstract class.pliard@chromium.org2012-04-231-2/+3
| | | | | | | | | | | | | | | | | | | This is part of Chrome for Android upstreaming. This CL makes ListenSocket an abstract class instead of a concrete class implementing a TCP Listen Socket. This abstraction will be used later to make HttpServer seamlessly operate on TCP sockets and Unix domain sockets (will be upstreamed in a separate CL). The TCP Listen socket implementation, previously in listen_socket.{cc,h}, is now in tcp_listen_socket.{cc,h}. TEST=net_unittests Review URL: http://codereview.chromium.org/10108015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133480 0039d316-1c4b-4281-b951-d872f2087c98
* Move net/base/sys_byteorder.h to base/sys_byteorder.hisherman@chromium.org2011-12-281-6/+1
| | | | | | | | | | | | | | 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
* DevTools: web socket does not expect frames other than text.loislo@chromium.org2011-09-261-2/+5
| | | | | | | | | 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-206/+79
| | | | | | | | | | | (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
* base: Put md5.* into base namespace.tfarina@chromium.org2011-07-181-2/+2
| | | | | | | | | | | BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
* net: Put net/server/* into namespace net.tfarina@chromium.org2011-04-181-9/+14
| | | | | | | | | | | BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/6875024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81921 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove HttpListenSocket dependency on flush events.pfeldman@chromium.org2011-02-041-8/+26
| | | | | | | | Original review at: http://codereview.chromium.org/6349037/. TBR= git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73807 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: follo up to http server introduction. Report OnClose from ↵pfeldman@chromium.org2011-02-031-4/+5
| | | | | | | | | | | Connection destructor. BUG= TEST= Review URL: http://codereview.chromium.org/6312127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73640 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split http_listen_socket into http_server and connection.pfeldman@chromium.org2011-02-031-0/+416
BUG= TEST= Review URL: http://codereview.chromium.org/6410033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73631 0039d316-1c4b-4281-b951-d872f2087c98