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

Issue 12211052: Drain HTTP request input streams before responding. (Closed)

Created:
7 years, 10 months ago by Bob Nystrom
Modified:
7 years, 10 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org, Søren Gjesse
Visibility:
Public.

Description

Drain HTTP request input streams before responding. Committed: https://code.google.com/p/dart/source/detail?r=18185

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -8 lines) Patch
M utils/pub/io.dart View 1 chunk +15 lines, -0 lines 0 comments Download
M utils/tests/pub/pub_lish_test.dart View 3 chunks +14 lines, -8 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Bob Nystrom
7 years, 10 months ago (2013-02-06 20:41:51 UTC) #1
nweiz
lgtm https://codereview.chromium.org/12211052/diff/1/utils/tests/pub/pub_lish_test.dart File utils/tests/pub/pub_lish_test.dart (right): https://codereview.chromium.org/12211052/diff/1/utils/tests/pub/pub_lish_test.dart#newcode42 utils/tests/pub/pub_lish_test.dart:42: return server.url; Style nit: I'd probably make this ...
7 years, 10 months ago (2013-02-06 20:47:05 UTC) #2
Bob Nystrom
7 years, 10 months ago (2013-02-06 20:50:39 UTC) #3
Thanks!

https://codereview.chromium.org/12211052/diff/1/utils/tests/pub/pub_lish_test...
File utils/tests/pub/pub_lish_test.dart (right):

https://codereview.chromium.org/12211052/diff/1/utils/tests/pub/pub_lish_test...
utils/tests/pub/pub_lish_test.dart:42: return server.url;
On 2013/02/06 20:47:05, nweiz wrote:
> Style nit: I'd probably make this a "=>"-style lambda.

I did that first, but then the following then() doesn't have a convenient place
to go. I figured this looked marginally better than a hanging ".then()" on its
own line.

Powered by Google App Engine
This is Rietveld 408576698