| Index: net/tools/quic/quic_time_wait_list_manager.cc
|
| diff --git a/net/tools/quic/quic_time_wait_list_manager.cc b/net/tools/quic/quic_time_wait_list_manager.cc
|
| index 2e64097b64b7b61dc660c7863adc8c152ac2435c..a8550835f4b08c1c0872f9aa752f2b41cd0fcda4 100644
|
| --- a/net/tools/quic/quic_time_wait_list_manager.cc
|
| +++ b/net/tools/quic/quic_time_wait_list_manager.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/stl_util.h"
|
| @@ -20,7 +21,6 @@
|
| #include "net/quic/core/quic_server_session_base.h"
|
| #include "net/quic/core/quic_utils.h"
|
| #include "net/quic/platform/api/quic_clock.h"
|
| -#include "net/quic/platform/api/quic_logging.h"
|
| #include "net/quic/platform/api/quic_socket_address.h"
|
|
|
| using base::StringPiece;
|
| @@ -154,7 +154,7 @@
|
| QuicPacketNumber packet_number,
|
| const QuicEncryptedPacket& /*packet*/) {
|
| DCHECK(IsConnectionIdInTimeWait(connection_id));
|
| - QUIC_DLOG(INFO) << "Processing " << connection_id << " in time wait state.";
|
| + DVLOG(1) << "Processing " << connection_id << " in time wait state.";
|
| // TODO(satyamshekhar): Think about handling packets from different client
|
| // addresses.
|
| ConnectionIdMap::iterator it = connection_id_map_.find(connection_id);
|
| @@ -169,9 +169,8 @@
|
|
|
| if (!connection_data->termination_packets.empty()) {
|
| if (connection_data->connection_rejected_statelessly) {
|
| - QUIC_DVLOG(3)
|
| - << "Time wait list sending previous stateless reject response "
|
| - << "for connection " << connection_id;
|
| + DVLOG(3) << "Time wait list sending previous stateless reject response "
|
| + << "for connection " << connection_id;
|
| }
|
| for (const auto& packet : connection_data->termination_packets) {
|
| SendOrQueuePacket(base::MakeUnique<QueuedPacket>(
|
| @@ -249,10 +248,9 @@
|
| visitor_->OnWriteBlocked(this);
|
| return writer_->IsWriteBlockedDataBuffered();
|
| } else if (result.status == WRITE_STATUS_ERROR) {
|
| - QUIC_LOG_FIRST_N(WARNING, 1)
|
| - << "Received unknown error while sending reset packet to "
|
| - << queued_packet->client_address().ToString() << ": "
|
| - << strerror(result.error_code);
|
| + LOG(WARNING) << "Received unknown error while sending reset packet to "
|
| + << queued_packet->client_address().ToString() << ": "
|
| + << strerror(result.error_code);
|
| }
|
| return true;
|
| }
|
| @@ -266,8 +264,7 @@
|
| if (now - oldest_connection_id < time_wait_period_) {
|
| next_alarm_interval = oldest_connection_id + time_wait_period_ - now;
|
| } else {
|
| - QUIC_LOG(ERROR)
|
| - << "ConnectionId lingered for longer than time_wait_period_";
|
| + LOG(ERROR) << "ConnectionId lingered for longer than time_wait_period_";
|
| }
|
| } else {
|
| // No connection_ids added so none will expire before time_wait_period_.
|
|
|