Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 953513002: http_server: accept full NetAddress in CreateHttpServer. (Closed)

Created:
5 years, 10 months ago by ppi
Modified:
5 years, 10 months ago
Reviewers:
qsr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, esprehn, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, ojan
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

http_server: accept full NetAddress in CreateHttpServer. This patch allows to specify a full NetAddress on which the server is to be set up. This is needed to decide between running the server on externally visible address (like http_handler would like) and localhost (like skydb would like). No change in behavior of existing clients in the Mojo repo should occur. A follow-up patch will switch some of the clients from 0.0.0.0 to localhost. BUG=460908 R=qsr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/8d249d207d0cabd42a7b68bf44b1cdc77bec2d45

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase. #

Patch Set 3 : Address Ben's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -44 lines) Patch
M examples/http_handler/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M examples/http_handler/http_handler.cc View 2 chunks +14 lines, -1 line 0 comments Download
M services/http_server/http_server_apptest.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M services/http_server/http_server_factory_impl.h View 1 2 2 chunks +14 lines, -5 lines 0 comments Download
M services/http_server/http_server_factory_impl.cc View 1 2 2 chunks +41 lines, -11 lines 0 comments Download
M services/http_server/http_server_impl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M services/http_server/http_server_impl.cc View 1 2 4 chunks +4 lines, -15 lines 0 comments Download
M services/http_server/public/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M services/http_server/public/http_server_factory.mojom View 1 2 1 chunk +12 lines, -7 lines 0 comments Download
M sky/tools/debugger/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M sky/tools/debugger/debugger.cc View 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
ppi
Hi Ben, ptal.
5 years, 10 months ago (2015-02-23 16:32:20 UTC) #2
qsr
https://codereview.chromium.org/953513002/diff/1/services/http_server/http_server_factory_impl.cc File services/http_server/http_server_factory_impl.cc (right): https://codereview.chromium.org/953513002/diff/1/services/http_server/http_server_factory_impl.cc#newcode32 services/http_server/http_server_factory_impl.cc:32: mojo::NetAddressPtr requested_address) { Take a mojo::NetAddress* instead, so you ...
5 years, 10 months ago (2015-02-23 17:14:01 UTC) #3
ppi
Thanks, Ben. Ptal. https://codereview.chromium.org/953513002/diff/1/services/http_server/http_server_factory_impl.cc File services/http_server/http_server_factory_impl.cc (right): https://codereview.chromium.org/953513002/diff/1/services/http_server/http_server_factory_impl.cc#newcode32 services/http_server/http_server_factory_impl.cc:32: mojo::NetAddressPtr requested_address) { On 2015/02/23 17:14:01, ...
5 years, 10 months ago (2015-02-24 10:59:55 UTC) #4
qsr
lgtm
5 years, 10 months ago (2015-02-24 15:50:28 UTC) #5
ppi
5 years, 10 months ago (2015-02-24 16:33:47 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
8d249d207d0cabd42a7b68bf44b1cdc77bec2d45 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698