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

Issue 12614014: Add setNoDelay method on Socket/RawSocket. (Closed)

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

Description

Add setOption method on Socket/RawSocket. This will allow the user to enable TCP_NODELAY on the native sockets. BUG= Committed: https://code.google.com/p/dart/source/detail?r=20014

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make flag as type 'const char' and fix windows. #

Patch Set 3 : Changed to be setOption. #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -0 lines) Patch
M runtime/bin/io_natives.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/socket.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/socket.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M runtime/bin/socket_android.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/bin/socket_linux.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/bin/socket_macos.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M runtime/bin/socket_patch.dart View 1 2 4 chunks +15 lines, -0 lines 0 comments Download
M runtime/bin/socket_win.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/io/socket.dart View 1 2 3 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Anders Johnsen
7 years, 9 months ago (2013-03-14 11:21:29 UTC) #1
Søren Gjesse
Looks af if you are missing Android https://codereview.chromium.org/12614014/diff/1/sdk/lib/io/socket.dart File sdk/lib/io/socket.dart (right): https://codereview.chromium.org/12614014/diff/1/sdk/lib/io/socket.dart#newcode190 sdk/lib/io/socket.dart:190: bool setNoDelay([bool ...
7 years, 9 months ago (2013-03-14 11:28:40 UTC) #2
Anders Johnsen
PTAL
7 years, 9 months ago (2013-03-14 11:56:25 UTC) #3
Søren Gjesse
LGTM if you update socket_android.cc as well https://codereview.chromium.org/12614014/diff/7001/runtime/bin/socket.cc File runtime/bin/socket.cc (right): https://codereview.chromium.org/12614014/diff/7001/runtime/bin/socket.cc#newcode453 runtime/bin/socket.cc:453: Dart_Handle err ...
7 years, 9 months ago (2013-03-14 12:39:59 UTC) #4
Anders Johnsen
Added for android as well, landing. https://codereview.chromium.org/12614014/diff/7001/runtime/bin/socket.cc File runtime/bin/socket.cc (right): https://codereview.chromium.org/12614014/diff/7001/runtime/bin/socket.cc#newcode453 runtime/bin/socket.cc:453: Dart_Handle err = ...
7 years, 9 months ago (2013-03-14 12:45:05 UTC) #5
Anders Johnsen
7 years, 9 months ago (2013-03-14 12:47:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r20014 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698