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

Issue 133243002: Repair two DCHECKS (Closed)

Created:
6 years, 11 months ago by jar (doing other things)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Repair two DCHECKS In one case, the packet was seemingly buffered, and then discarded, but asynchronously sent (needlessly). We can just return, and not track the packet since it definately won't have its contents retransmitted. In the other case it appears that the packet was sent, containing a retransmission of previously sent frames. Unfortunately that resend was write-blocked, and while waiting, the original packet was acked, which lead to removing the list of retransmittable frames from that latter (write-blocked) packet. An assertion was then failing when the packet was sent, as it was expected to be retransmittable, but had no retransmittable frames. R=ian,rch BUG=332631 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244129

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M net/quic/quic_sent_packet_manager.cc View 1 chunk +10 lines, -4 lines 4 comments Download

Messages

Total messages: 6 (0 generated)
jar (doing other things)
6 years, 11 months ago (2014-01-10 05:12:00 UTC) #1
Ryan Hamilton
https://chromiumcodereview.appspot.com/133243002/diff/1/net/quic/quic_sent_packet_manager.cc File net/quic/quic_sent_packet_manager.cc (left): https://chromiumcodereview.appspot.com/133243002/diff/1/net/quic/quic_sent_packet_manager.cc#oldcode556 net/quic/quic_sent_packet_manager.cc:556: DCHECK(unacked_packets_[sequence_number].retransmittable_frames); Is this DCHECK invalid? If so, why? https://chromiumcodereview.appspot.com/133243002/diff/1/net/quic/quic_sent_packet_manager.cc ...
6 years, 11 months ago (2014-01-10 05:22:45 UTC) #2
Ryan Hamilton
lgtm, but we really need a regression test for this. https://chromiumcodereview.appspot.com/133243002/diff/1/net/quic/quic_sent_packet_manager.cc File net/quic/quic_sent_packet_manager.cc (left): https://chromiumcodereview.appspot.com/133243002/diff/1/net/quic/quic_sent_packet_manager.cc#oldcode556 ...
6 years, 11 months ago (2014-01-10 05:24:25 UTC) #3
jar (doing other things)
The try bots seem terribly horked this evening... but I'll hit the CQ and see ...
6 years, 11 months ago (2014-01-10 05:36:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jar@chromium.org/133243002/1
6 years, 11 months ago (2014-01-10 05:37:13 UTC) #5
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 08:38:27 UTC) #6
Message was sent while issue was closed.
Change committed as 244129

Powered by Google App Engine
This is Rietveld 408576698