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

Unified Diff: net/tools/quic/quic_client.h

Issue 1760423002: n/a (QUIC toy client/server) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115456160
Patch Set: Update dependency Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/tools/quic/quic_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 090c2cb5bbba17395b474b37f8df15f617e8efd5..2134d2e4566cb427958da04616ed7ffc8c977f74 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -25,6 +25,7 @@
#include "net/tools/epoll_server/epoll_server.h"
#include "net/tools/quic/quic_client_base.h"
#include "net/tools/quic/quic_client_session.h"
+#include "net/tools/quic/quic_packet_reader.h"
#include "net/tools/quic/quic_process_packet_interface.h"
namespace net {
@@ -32,7 +33,6 @@ namespace net {
class QuicServerId;
class QuicEpollConnectionHelper;
-class QuicPacketReader;
namespace test {
class QuicClientPeer;
@@ -243,14 +243,6 @@ class QuicClient : public QuicClientBase,
// Actually clean up |fd|.
void CleanUpUDPSocketImpl(int fd);
- // Read a UDP packet and hand it to the framer.
- bool ReadAndProcessPacket();
-
- // Read available UDP packets up to kNumPacketsPerReadCall
- // and hand them to the connection.
- // TODO(rtenneti): Add support for ReadAndProcessPackets().
- // bool ReadAndProcessPackets();
-
// If the request URL matches a push promise, bypass sending the
// request.
bool MaybeHandlePromised(const BalsaHeaders& headers,
@@ -291,6 +283,9 @@ class QuicClient : public QuicClientBase,
// because the socket would otherwise overflow.
bool overflow_supported_;
+ // If true, use recvmmsg for reading.
+ bool use_recvmmsg_;
+
// If true, store the latest response code, headers, and body.
bool store_response_;
// HTTP response code from most recent response.
« no previous file with comments | « no previous file | net/tools/quic/quic_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698