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

Issue 144063012: Fix a QUIC bug where previously undecryptable packets were not decrypted (Closed)

Created:
6 years, 11 months ago by ramant (doing other things)
Modified:
6 years, 10 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, dcheng
Visibility:
Public.

Description

Fix a QUIC bug where previously undecryptable packets were not decrypted before sending out an ack when the encryption level changed. Merge internal change: 60051502 Added debugging code to dump QuicFrame and Headers. R=rch@chromium.org

Patch Set 1 #

Patch Set 2 : making quic_http_stream unittests work with this patch #

Total comments: 2

Patch Set 3 : upload changes #

Total comments: 6

Patch Set 4 : Added logging for all frames and fixed rch's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -59 lines) Patch
M net/quic/quic_connection.h View 2 chunks +8 lines, -2 lines 0 comments Download
M net/quic/quic_connection.cc View 6 chunks +48 lines, -44 lines 0 comments Download
M net/quic/quic_connection_test.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M net/quic/quic_framer.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_http_stream_test.cc View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M net/quic/quic_packet_creator.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_protocol.h View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
M net/quic/quic_protocol.cc View 1 2 3 3 chunks +78 lines, -7 lines 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.cc View 1 2 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ramant (doing other things)
6 years, 11 months ago (2014-01-25 00:17:15 UTC) #1
ramant (doing other things)
Patch set# 2 has a change to make quic_http_stream unittests to pass. Will send the ...
6 years, 11 months ago (2014-01-25 05:00:31 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/144063012/diff/70001/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/144063012/diff/70001/net/quic/quic_http_stream_test.cc#newcode615 net/quic/quic_http_stream_test.cc:615: // AddWrite(ConstructRstStreamPacket(2)); Do you understand why the RST_STREAM packet ...
6 years, 11 months ago (2014-01-27 19:08:02 UTC) #3
ramant (doing other things)
Hi Ryan, As you have suggested, added some debugging code. Would appreciate if you could ...
6 years, 10 months ago (2014-01-29 00:40:19 UTC) #4
Ryan Hamilton
Thanks so much for getting to the bottom of this! Just a couple of nits. ...
6 years, 10 months ago (2014-01-29 00:52:51 UTC) #5
ramant (doing other things)
Made all the changes. PTAL. thanks. https://codereview.chromium.org/144063012/diff/170001/net/quic/quic_framer.cc File net/quic/quic_framer.cc (right): https://codereview.chromium.org/144063012/diff/170001/net/quic/quic_framer.cc#newcode622 net/quic/quic_framer.cc:622: DVLOG(1) << "Header: ...
6 years, 10 months ago (2014-01-29 02:45:38 UTC) #6
Ryan Hamilton
6 years, 10 months ago (2014-01-29 03:07:55 UTC) #7
lgtm

THANKS!

Powered by Google App Engine
This is Rietveld 408576698