| Index: net/quic/quic_sent_packet_manager.cc
|
| diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
|
| index 4eef7ba1f85d6f7bcced642b491d8cee11c52f45..e2ca91ee42807dc6a30d55df27cad7c5f31c24aa 100644
|
| --- a/net/quic/quic_sent_packet_manager.cc
|
| +++ b/net/quic/quic_sent_packet_manager.cc
|
| @@ -339,9 +339,6 @@ void QuicSentPacketManager::RetransmitUnackedPackets(
|
| (retransmission_type == ALL_UNACKED_RETRANSMISSION ||
|
| it->encryption_level == ENCRYPTION_INITIAL)) {
|
| MarkForRetransmission(packet_number, retransmission_type);
|
| - } else if (it->is_fec_packet) {
|
| - // Remove FEC packets from the packet map, since we can't retransmit them.
|
| - unacked_packets_.RemoveFromInFlight(packet_number);
|
| }
|
| }
|
| }
|
| @@ -561,16 +558,10 @@ bool QuicSentPacketManager::OnPacketSent(
|
| --pending_timer_transmission_count_;
|
| }
|
|
|
| - // Only track packets as in flight that the send algorithm wants us to track.
|
| - // Since FEC packets should also be counted towards the congestion window,
|
| - // consider them as retransmittable for the purposes of congestion control.
|
| - HasRetransmittableData has_congestion_controlled_data =
|
| - serialized_packet->is_fec_packet ? HAS_RETRANSMITTABLE_DATA
|
| - : has_retransmittable_data;
|
| // TODO(ianswett): Remove sent_time, because it's unused.
|
| const bool in_flight = send_algorithm_->OnPacketSent(
|
| sent_time, unacked_packets_.bytes_in_flight(), packet_number,
|
| - serialized_packet->encrypted_length, has_congestion_controlled_data);
|
| + serialized_packet->encrypted_length, has_retransmittable_data);
|
|
|
| unacked_packets_.AddSentPacket(serialized_packet, original_packet_number,
|
| transmission_type, sent_time, in_flight);
|
|
|