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

Issue 124833003: pkg/http_server: return future for VirtualDirectory serveRequest (Closed)

Created:
6 years, 11 months ago by kevmoo
Modified:
6 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

pkg/http_server: return future for VirtualDirectory serveRequest Also: - Return the subscription from serve method - Bumped version BUG= https://code.google.com/p/dart/issues/detail?id=15893 BUG= https://code.google.com/p/dart/issues/detail?id=16005 R=ajohnsen@google.com Committed: https://code.google.com/p/dart/source/detail?r=31701

Patch Set 1 #

Patch Set 2 : final cleanup #

Patch Set 3 : rebase #

Patch Set 4 : fixes for rebase #

Patch Set 5 : rebased on CL 120343005 #

Patch Set 6 : rebase #

Patch Set 7 : cleanup #

Patch Set 8 : tweaks #

Total comments: 18

Patch Set 9 : rebase #

Patch Set 10 : review nits #

Patch Set 11 : addressed last CR comments #

Patch Set 12 : another approach to directory listing #

Patch Set 13 : docs and cleanup for mock logic in tests #

Total comments: 5

Patch Set 14 : rolled back clever #

Patch Set 15 : one final nit #

Patch Set 16 : version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -51 lines) Patch
M pkg/http_server/lib/src/virtual_directory.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 11 chunks +26 lines, -19 lines 0 comments Download
M pkg/http_server/pubspec.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
A pkg/http_server/test/http_mock.dart View 1 2 3 4 5 6 7 8 9 1 chunk +199 lines, -0 lines 0 comments Download
M pkg/http_server/test/utils.dart View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +122 lines, -29 lines 0 comments Download
M pkg/http_server/test/virtual_directory_test.dart View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kevmoo
6 years, 11 months ago (2014-01-09 03:57:39 UTC) #1
sethladd
https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart#newcode160 pkg/http_server/lib/src/virtual_directory.dart:160: void serveFile(File file, HttpRequest request) { why not return ...
6 years, 11 months ago (2014-01-09 05:27:47 UTC) #2
Anders Johnsen
https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart#newcode160 pkg/http_server/lib/src/virtual_directory.dart:160: void serveFile(File file, HttpRequest request) { On 2014/01/09 05:27:48, ...
6 years, 11 months ago (2014-01-09 06:12:23 UTC) #3
kevmoo
First set of review fixes https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart#newcode300 pkg/http_server/lib/src/virtual_directory.dart:300: .whenComplete(() { On 2014/01/09 ...
6 years, 11 months ago (2014-01-10 05:01:59 UTC) #4
kevmoo
PTAL https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/320001/pkg/http_server/lib/src/virtual_directory.dart#newcode285 pkg/http_server/lib/src/virtual_directory.dart:285: dir.list(followLinks: true).forEach((entity) { I think I've addressed this, ...
6 years, 11 months ago (2014-01-10 18:12:31 UTC) #5
sethladd
https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/test/http_mock.dart File pkg/http_server/test/http_mock.dart (right): https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/test/http_mock.dart#newcode1 pkg/http_server/test/http_mock.dart:1: library http_mock; Can you pull this out and put ...
6 years, 11 months ago (2014-01-10 18:19:35 UTC) #6
Anders Johnsen
lgtm https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart#newcode303 pkg/http_server/lib/src/virtual_directory.dart:303: .handleError((error) { Why is this better than the ...
6 years, 11 months ago (2014-01-10 18:19:45 UTC) #7
kevmoo
PTAL https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart#newcode303 pkg/http_server/lib/src/virtual_directory.dart:303: .handleError((error) { On 2014/01/10 18:19:45, Anders Johnsen wrote: ...
6 years, 11 months ago (2014-01-10 18:51:24 UTC) #8
Anders Johnsen
https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart File pkg/http_server/lib/src/virtual_directory.dart (right): https://codereview.chromium.org/124833003/diff/560001/pkg/http_server/lib/src/virtual_directory.dart#newcode303 pkg/http_server/lib/src/virtual_directory.dart:303: .handleError((error) { On 2014/01/10 18:51:24, kevmoo wrote: > On ...
6 years, 11 months ago (2014-01-10 18:53:34 UTC) #9
kevmoo
6 years, 11 months ago (2014-01-10 19:27:11 UTC) #10
Message was sent while issue was closed.
Committed patchset #16 manually as r31701 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698