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

Issue 1810103002: Always use recvmmsg or recvmsg if it's available, and consolidate ReadAndDispatchPackets and ReadAn… (Closed)

Created:
4 years, 9 months ago by fnk
Modified:
4 years, 9 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@116987771
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always use recvmmsg or recvmsg if it's available, and consolidate ReadAndDispatchPackets and ReadAndDispatchSinglePacket into a single API. Not flag protected. No functional change. Note that this does somewhat reduce the test coverage of QuicServerTest, now requiring that changes to QuicPacketReader::ReadAndDispatchSinglePacket be run on platforms that don't support recvmmsg. Merge internal change: 117245279 R=rch@chromium.org BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -50 lines) Patch
M net/tools/quic/quic_client.h View 1 chunk +0 lines, -3 lines 0 comments Download
M net/tools/quic/quic_client.cc View 3 chunks +3 lines, -14 lines 0 comments Download
M net/tools/quic/quic_packet_reader.h View 1 chunk +11 lines, -5 lines 0 comments Download
M net/tools/quic/quic_packet_reader.cc View 1 chunk +12 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server.h View 1 chunk +0 lines, -3 lines 0 comments Download
M net/tools/quic/quic_server.cc View 4 chunks +3 lines, -17 lines 0 comments Download
M net/tools/quic/test_tools/quic_server_peer.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/tools/quic/test_tools/quic_server_peer.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 2 (0 generated)
fnk
4 years, 9 months ago (2016-03-17 16:18:07 UTC) #1
Ryan Hamilton
4 years, 9 months ago (2016-03-17 17:43:42 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698