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

Issue 304373008: Add support for modifying TCP and UDP socket buffer size in nacl_io (Closed)

Created:
6 years, 6 months ago by mbajpai
Modified:
6 years, 1 month ago
Reviewers:
codebythepound, binji, Sam Clegg
CC:
chromium-reviews, binji+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add support for modifying TCP and UDP socket buffer size in nacl_io setsockopt() can now be called with these options: SO_RCVBUF SO_SNDBUF BUG=none Committed: https://crrev.com/97bfef2c02f89b66e3b5d48cdca796796062fc62 Cr-Commit-Position: refs/heads/master@{#302167}

Patch Set 1 #

Patch Set 2 : Added unit tests #

Total comments: 1

Patch Set 3 : Corrected the unit tests #

Total comments: 3

Patch Set 4 : Fixed the bug in the TCP test and added comments #

Total comments: 1

Patch Set 5 : in socket_test.cc, change accept() to ki_accept() per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -0 lines) Patch
M native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/socket/udp_node.h View 1 chunk +5 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc View 1 2 3 4 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (1 generated)
mbajpai
This review is per discussion: https://groups.google.com/forum/#!searchin/native-client-discuss/nacl_io$20socket/native-client-discuss/T7yPtAC0Wig/RRd0ZbMWQDMJ
6 years, 6 months ago (2014-05-30 22:17:32 UTC) #1
Sam Clegg
On 2014/05/30 22:17:32, mbajpai wrote: > This review is per discussion: > https://groups.google.com/forum/#!searchin/native-client-discuss/nacl_io$20socket/native-client-discuss/T7yPtAC0Wig/RRd0ZbMWQDMJ Thanks Manish! ...
6 years, 6 months ago (2014-05-30 22:49:22 UTC) #2
Sam Clegg
On 2014/05/30 22:49:22, Sam Clegg wrote: > On 2014/05/30 22:17:32, mbajpai wrote: > > This ...
6 years, 6 months ago (2014-05-30 22:49:52 UTC) #3
mbajpai
On 2014/05/30 22:49:52, Sam Clegg wrote: > On 2014/05/30 22:49:22, Sam Clegg wrote: > > ...
6 years, 6 months ago (2014-05-30 23:03:19 UTC) #4
mbajpai
> Added reviewers. Please add/remove as needed. Working on adding a test. Have removed the ...
6 years, 6 months ago (2014-05-31 02:12:52 UTC) #5
CodeByThePound
Quick review note. https://codereview.chromium.org/304373008/diff/20001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): https://codereview.chromium.org/304373008/diff/20001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode526 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc:526: sock2_ = socket(AF_INET, SOCK_STREAM, 0); I ...
6 years, 6 months ago (2014-06-02 19:38:18 UTC) #6
mbajpai
On 2014/06/02 19:38:18, CodeByThePound wrote: > Quick review note. > > https://codereview.chromium.org/304373008/diff/20001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc > File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ...
6 years, 6 months ago (2014-06-02 23:52:04 UTC) #7
Sam Clegg
https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode595 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc:595: << "failed with: " << strerror(errno); Can you verify ...
6 years, 6 months ago (2014-06-03 00:07:53 UTC) #8
mbajpai
https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode595 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc:595: << "failed with: " << strerror(errno); On 2014/06/03 00:07:54, ...
6 years, 6 months ago (2014-06-03 05:11:07 UTC) #9
Sam Clegg
On 2014/06/03 05:11:07, mbajpai wrote: > https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc > File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): > > https://codereview.chromium.org/304373008/diff/40001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode595 > ...
6 years, 6 months ago (2014-06-03 05:43:50 UTC) #10
Sam Clegg
From the logs it looks like just the TCP BUFSIZE test is failing (in all ...
6 years, 6 months ago (2014-06-03 05:47:27 UTC) #11
mbajpai
On 2014/06/03 05:47:27, Sam Clegg wrote: > From the logs it looks like just the ...
6 years, 6 months ago (2014-06-03 05:54:30 UTC) #12
mbajpai
Have fixed the error with TCP BUFSIZE test. Please review.
6 years, 6 months ago (2014-06-05 18:15:32 UTC) #13
Sam Clegg
lgtm, please wait for green trybots.
6 years, 6 months ago (2014-06-05 18:22:13 UTC) #14
mbajpai
On 2014/06/05 18:22:13, Sam Clegg wrote: > lgtm, please wait for green trybots. The test ...
6 years, 6 months ago (2014-06-05 23:03:54 UTC) #15
binji
https://codereview.chromium.org/304373008/diff/60001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): https://codereview.chromium.org/304373008/diff/60001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode849 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc:849: int new_sock = accept(server_sock, (sockaddr*)&addr, &addrlen); this should be ...
6 years, 6 months ago (2014-06-05 23:10:20 UTC) #16
mbajpai
On 2014/06/05 23:10:20, binji wrote: > https://codereview.chromium.org/304373008/diff/60001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc > File native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc (right): > > https://codereview.chromium.org/304373008/diff/60001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc#newcode849 > ...
6 years, 6 months ago (2014-06-05 23:28:55 UTC) #17
Sam Clegg
On 2014/06/05 23:28:55, mbajpai wrote: > On 2014/06/05 23:10:20, binji wrote: > > > https://codereview.chromium.org/304373008/diff/60001/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ...
6 years, 2 months ago (2014-10-17 17:48:03 UTC) #18
mbajpai
On 2014/10/17 17:48:03, Sam Clegg wrote: > On 2014/06/05 23:28:55, mbajpai wrote: > > On ...
6 years, 2 months ago (2014-10-17 18:01:41 UTC) #19
mbajpai
Uploaded the suggested change. Please run the trybots.
6 years, 2 months ago (2014-10-18 21:19:57 UTC) #20
mbajpai
Sam, Is there anything else we are waiting for? Thanks, Manish On 2014/10/18 21:19:57, mbajpai ...
6 years, 2 months ago (2014-10-23 17:13:15 UTC) #21
Sam Clegg
On 2014/10/23 17:13:15, mbajpai wrote: > Sam, > Is there anything else we are waiting ...
6 years, 2 months ago (2014-10-23 18:20:36 UTC) #22
mbajpai
> > Sorry, no. Trybots running now. No idea why Linux build ran into trouble. ...
6 years, 2 months ago (2014-10-24 17:02:58 UTC) #23
mbajpai
On 2014/10/24 17:02:58, mbajpai wrote: > > > > Sorry, no. Trybots running now. > ...
6 years, 1 month ago (2014-10-30 20:33:49 UTC) #24
Sam Clegg
On 2014/10/30 20:33:49, mbajpai wrote: > On 2014/10/24 17:02:58, mbajpai wrote: > > > > ...
6 years, 1 month ago (2014-10-30 21:16:46 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/304373008/80001
6 years, 1 month ago (2014-10-30 21:18:39 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-10-30 22:01:07 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 22:01:37 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/97bfef2c02f89b66e3b5d48cdca796796062fc62
Cr-Commit-Position: refs/heads/master@{#302167}

Powered by Google App Engine
This is Rietveld 408576698