| Index: net/tools/quic/quic_dispatcher.cc
|
| diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
|
| index 55becba4ce0c58e2da01bceb9bc578cc706a70ce..b658e6829ddb7dda920917a281f18c2debd86e99 100644
|
| --- a/net/tools/quic/quic_dispatcher.cc
|
| +++ b/net/tools/quic/quic_dispatcher.cc
|
| @@ -7,13 +7,13 @@
|
| #include <utility>
|
|
|
| #include "base/debug/stack_trace.h"
|
| +#include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "net/quic/core/crypto/quic_random.h"
|
| #include "net/quic/core/quic_flags.h"
|
| #include "net/quic/core/quic_utils.h"
|
| #include "net/quic/platform/api/quic_bug_tracker.h"
|
| -#include "net/quic/platform/api/quic_logging.h"
|
| #include "net/tools/quic/chlo_extractor.h"
|
| #include "net/tools/quic/quic_per_connection_packet_writer.h"
|
| #include "net/tools/quic/quic_simple_server_session.h"
|
| @@ -376,8 +376,8 @@
|
| !time_wait_list_manager_->IsConnectionIdInTimeWait(connection_id)) {
|
| // Add this connection_id to the time-wait state, to safely reject
|
| // future packets.
|
| - QUIC_DLOG(INFO) << "Adding connection ID " << connection_id
|
| - << "to time-wait list.";
|
| + DVLOG(1) << "Adding connection ID " << connection_id
|
| + << "to time-wait list.";
|
| time_wait_list_manager_->AddConnectionIdToTimeWait(
|
| connection_id, framer_.version(),
|
| /*connection_rejected_statelessly=*/false, nullptr);
|
| @@ -424,9 +424,8 @@
|
| // set. Since this may be a client continuing a connection we lost track of
|
| // via server restart, send a rejection to fast-fail the connection.
|
| if (!header.public_header.version_flag) {
|
| - QUIC_DLOG(INFO)
|
| - << "Packet without version arrived for unknown connection ID "
|
| - << header.public_header.connection_id;
|
| + DVLOG(1) << "Packet without version arrived for unknown connection ID "
|
| + << header.public_header.connection_id;
|
| return kFateTimeWait;
|
| }
|
|
|
| @@ -532,8 +531,7 @@
|
|
|
| void QuicDispatcher::OnConnectionAddedToTimeWaitList(
|
| QuicConnectionId connection_id) {
|
| - QUIC_DLOG(INFO) << "Connection " << connection_id
|
| - << " added to time wait list.";
|
| + DVLOG(1) << "Connection " << connection_id << " added to time wait list.";
|
| }
|
|
|
| void QuicDispatcher::OnPacket() {}
|
| @@ -541,7 +539,7 @@
|
| void QuicDispatcher::OnError(QuicFramer* framer) {
|
| QuicErrorCode error = framer->error();
|
| SetLastError(error);
|
| - QUIC_DLOG(INFO) << QuicErrorCodeToString(error);
|
| + DVLOG(1) << QuicErrorCodeToString(error);
|
| }
|
|
|
| bool QuicDispatcher::ShouldCreateSessionForUnknownVersion(QuicTag version_tag) {
|
| @@ -661,7 +659,7 @@
|
| }
|
| QuicSession* session =
|
| CreateQuicSession(connection_id, packets.front().client_address);
|
| - QUIC_DLOG(INFO) << "Created new session for " << connection_id;
|
| + DVLOG(1) << "Created new session for " << connection_id;
|
| session_map_.insert(
|
| std::make_pair(connection_id, base::WrapUnique(session)));
|
| DeliverPacketsToSession(packets, session);
|
| @@ -685,8 +683,8 @@
|
|
|
| void QuicDispatcher::OnBufferPacketFailure(EnqueuePacketResult result,
|
| QuicConnectionId connection_id) {
|
| - QUIC_DLOG(INFO) << "Fail to buffer packet on connection " << connection_id
|
| - << " because of " << result;
|
| + DVLOG(1) << "Fail to buffer packet on connection " << connection_id
|
| + << " because of " << result;
|
| }
|
|
|
| void QuicDispatcher::OnConnectionRejectedStatelessly() {}
|
| @@ -753,7 +751,7 @@
|
| // Creates a new session and process all buffered packets for this connection.
|
| QuicSession* session =
|
| CreateQuicSession(current_connection_id_, current_client_address_);
|
| - QUIC_DLOG(INFO) << "Created new session for " << current_connection_id_;
|
| + DVLOG(1) << "Created new session for " << current_connection_id_;
|
| session_map_.insert(
|
| std::make_pair(current_connection_id_, base::WrapUnique(session)));
|
| std::list<BufferedPacket> packets =
|
|
|