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

Issue 2532873003: Fix hitting a DCHECK in FtpNetworkTransaction on extra responses. (Closed)

Created:
4 years ago by mmenke
Modified:
4 years ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix hitting a DCHECK in FtpNetworkTransaction on extra responses. The DCHECK was mostly benign, though Chrome would close the socket without waiting for a response to its QUIT messages, which has unclear consequences. BUG=668759 Committed: https://crrev.com/d94cd17eb70ca6099f9eeeaf307962624534884b Cr-Commit-Position: refs/heads/master@{#434727}

Patch Set 1 #

Patch Set 2 : Add bonus test #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M net/ftp/ftp_network_transaction.cc View 2 chunks +5 lines, -2 lines 3 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 1 1 chunk +25 lines, -0 lines 1 comment Download

Messages

Total messages: 19 (10 generated)
mmenke
Another silly FTP fix. https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc File net/ftp/ftp_network_transaction.cc (right): https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc#newcode422 net/ftp/ftp_network_transaction.cc:422: // to have already been ...
4 years ago (2016-11-28 17:28:23 UTC) #5
mmenke
https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction_unittest.cc File net/ftp/ftp_network_transaction_unittest.cc (right): https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction_unittest.cc#newcode1747 net/ftp/ftp_network_transaction_unittest.cc:1747: TEST_P(FtpNetworkTransactionTest, ExtraQuitResponses) { This one would have passed before, ...
4 years ago (2016-11-28 17:43:08 UTC) #7
eroman
https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc File net/ftp/ftp_network_transaction.cc (right): https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc#newcode435 net/ftp/ftp_network_transaction.cc:435: rv = Stop(ERR_INVALID_RESPONSE); I am not sure I understand ...
4 years ago (2016-11-28 17:51:25 UTC) #8
mmenke
https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc File net/ftp/ftp_network_transaction.cc (right): https://codereview.chromium.org/2532873003/diff/20001/net/ftp/ftp_network_transaction.cc#newcode435 net/ftp/ftp_network_transaction.cc:435: rv = Stop(ERR_INVALID_RESPONSE); On 2016/11/28 17:51:24, eroman (slow) wrote: ...
4 years ago (2016-11-28 18:21:01 UTC) #9
eroman
lgtm
4 years ago (2016-11-28 19:54:51 UTC) #12
mmenke
On 2016/11/28 19:54:51, eroman (slow) wrote: > lgtm Thanks! Looks like we have at least ...
4 years ago (2016-11-28 19:58:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2532873003/20001
4 years ago (2016-11-28 19:59:04 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-28 21:50:58 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-28 21:54:20 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d94cd17eb70ca6099f9eeeaf307962624534884b
Cr-Commit-Position: refs/heads/master@{#434727}

Powered by Google App Engine
This is Rietveld 408576698