Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/25016 )
Change subject: [net] preserve errno from failed recv() ...................................................................... Patch Set 2: Code-Review+1 (1 comment) http://gerrit.cloudera.org:8080/#/c/25016/2/src/kudu/util/net/socket-test.cc File src/kudu/util/net/socket-test.cc: http://gerrit.cloudera.org:8080/#/c/25016/2/src/kudu/util/net/socket-test.cc@327 PS2, Line 327: const struct linger reset_linger = {1, 0}; : ASSERT_EQ(0, setsockopt(server.GetFd(), SOL_SOCKET, SO_LINGER, : &reset_linger, sizeof(reset_linger))); nit: could use Socket::SetLinger(bool enable, int linger_timeout_sec = 0) here instead of invoking syscall explicitly? -- To view, visit http://gerrit.cloudera.org:8080/25016 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I9196b35ee15d2111379a5a504745e83c831b640b Gerrit-Change-Number: 25016 Gerrit-PatchSet: 2 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Mon, 05 Oct 2026 22:53:06 +0000 Gerrit-HasComments: Yes
