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

Issue 10914200: Fix closing of server sockets. (Closed)

Created:
8 years, 3 months ago by Mads Ager (google)
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix closing of server sockets. Waiting for the onClosed event on the socket output stream is the right thing to do. However, only if we actually make sure that it will always close. :-) R=sgjesse@google.com,ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=12199

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M runtime/bin/http_impl.dart View 1 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (google)
8 years, 3 months ago (2012-09-11 12:33:19 UTC) #1
Anders Johnsen
LGTM, thank you so much Mads! https://chromiumcodereview.appspot.com/10914200/diff/1/runtime/bin/http_impl.dart File runtime/bin/http_impl.dart (right): https://chromiumcodereview.appspot.com/10914200/diff/1/runtime/bin/http_impl.dart#newcode1360 runtime/bin/http_impl.dart:1360: if (_response == ...
8 years, 3 months ago (2012-09-11 12:49:40 UTC) #2
Søren Gjesse
lgtm
8 years, 3 months ago (2012-09-11 13:20:29 UTC) #3
Mads Ager (google)
8 years, 3 months ago (2012-09-11 14:43:11 UTC) #4
https://chromiumcodereview.appspot.com/10914200/diff/1/runtime/bin/http_impl....
File runtime/bin/http_impl.dart (right):

https://chromiumcodereview.appspot.com/10914200/diff/1/runtime/bin/http_impl....
runtime/bin/http_impl.dart:1360: if (_response == null) _close();
On 2012/09/11 12:49:40, ajohnsen wrote:
> Nice. Would it make sense to move this to below the onClosed assignment?

I can do that. Thanks. :)

Powered by Google App Engine
This is Rietveld 408576698