| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index 76fe0a7f52a66d70dc23e983dce753bfa7b92fb2..7be5fc781cbe521c1d5e81265eff4dce01f63dd9 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -989,6 +989,7 @@ QuicConsumedData QuicConnection::SendStreamData(
|
| const IOVector& data,
|
| QuicStreamOffset offset,
|
| bool fin,
|
| + FecProtection fec_protection,
|
| QuicAckNotifier::DelegateInterface* delegate) {
|
| if (!fin && data.Empty()) {
|
| LOG(DFATAL) << "Attempt to send empty stream frame";
|
| @@ -1016,7 +1017,8 @@ QuicConsumedData QuicConnection::SendStreamData(
|
| // processing left that may cause received_info_ to change.
|
| ScopedPacketBundler ack_bundler(this, BUNDLE_PENDING_ACK);
|
| QuicConsumedData consumed_data =
|
| - packet_generator_.ConsumeData(id, data, offset, fin, notifier);
|
| + packet_generator_.ConsumeData(id, data, offset, fin, fec_protection,
|
| + notifier);
|
|
|
| if (notifier &&
|
| (consumed_data.bytes_consumed == 0 && !consumed_data.fin_consumed)) {
|
| @@ -1570,7 +1572,8 @@ void QuicConnection::SendPing() {
|
| char c_data[] = "C";
|
| data.Append(c_data, 1);
|
| QuicConsumedData consumed_data =
|
| - packet_generator_.ConsumeData(kCryptoStreamId, data, 0, false, NULL);
|
| + packet_generator_.ConsumeData(kCryptoStreamId, data, 0, false,
|
| + MAY_FEC_PROTECT, NULL);
|
| if (consumed_data.bytes_consumed == 0) {
|
| DLOG(ERROR) << "Unable to send ping!?";
|
| }
|
|
|