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

Issue 17581002: Add new VirtualHost class to http_server package, for handling multiple hosts on multiple sources (… (Closed)

Created:
7 years, 6 months ago by Anders Johnsen
Modified:
7 years, 6 months ago
Reviewers:
ricow1, Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add new VirtualHost class to http_server package, for handling multiple hosts on multiple sources (HttpServer's). It uses a by-name aproach, and thus depends on the host field to be present. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=24318

Patch Set 1 #

Total comments: 16

Patch Set 2 : Add cert and factor out getStatusCode and getHeaders to utils.dart. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -20 lines) Patch
M pkg/http_server/lib/http_server.dart View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/http_server/lib/src/virtual_host.dart View 1 1 chunk +149 lines, -0 lines 0 comments Download
A + pkg/http_server/test/pkcert/README View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/http_server/test/pkcert/cert9.db View 1 Binary file 0 comments Download
A + pkg/http_server/test/pkcert/key4.db View 1 Binary file 0 comments Download
A pkg/http_server/test/utils.dart View 1 1 chunk +48 lines, -0 lines 0 comments Download
M pkg/http_server/test/virtual_directory_test.dart View 1 1 chunk +1 line, -21 lines 0 comments Download
A pkg/http_server/test/virtual_host_test.dart View 1 1 chunk +181 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Anders Johnsen
7 years, 6 months ago (2013-06-23 20:19:36 UTC) #1
ricow1
DBN (drive by nit :-) ) https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart File pkg/http_server/lib/src/virtual_host.dart (right): https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart#newcode10 pkg/http_server/lib/src/virtual_host.dart:10: * multiple sources, ...
7 years, 6 months ago (2013-06-24 07:41:30 UTC) #2
Søren Gjesse
lgtm https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart File pkg/http_server/lib/src/virtual_host.dart (right): https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart#newcode44 pkg/http_server/lib/src/virtual_host.dart:44: * domain (`my.domain.name`) or a wildcard-based domain name ...
7 years, 6 months ago (2013-06-24 07:58:37 UTC) #3
Anders Johnsen
https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart File pkg/http_server/lib/src/virtual_host.dart (right): https://codereview.chromium.org/17581002/diff/1/pkg/http_server/lib/src/virtual_host.dart#newcode10 pkg/http_server/lib/src/virtual_host.dart:10: * multiple sources, by using name-based approach. On 2013/06/24 ...
7 years, 6 months ago (2013-06-24 10:07:06 UTC) #4
Anders Johnsen
7 years, 6 months ago (2013-06-24 10:07:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r24318 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698