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

Issue 3033028: FTP: fix navigation to systems with broken EPSV support. (Closed)

Created:
10 years, 5 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang, gavinp, eroman, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

FTP: fix navigation to systems with broken EPSV support. Added error code check in DoDataConnectComplete, which falls back to PASV if the connection with EPSV has timed out, and stops the transaction in case of any other error. BUG=48285 TEST=navigate to ftp.apc.com, it should succeed and display a directory listing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53882

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixes #

Total comments: 3

Patch Set 3 : rebase'n'final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M net/ftp/ftp_network_transaction.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Paweł Hajdan Jr.
This still makes it wait for the timeout (a few seconds). I think that's the ...
10 years, 5 months ago (2010-07-26 19:59:47 UTC) #1
wtc
Pawel: I asked gavinp, who added EPSV support, to review this CL. I have one ...
10 years, 5 months ago (2010-07-26 21:52:45 UTC) #2
gavinp
I echo WTC's question; should lines 1197-1998 maybe be moved below 1200-1201? Also, I apologise ...
10 years, 5 months ago (2010-07-27 15:59:09 UTC) #3
gavinp
http://codereview.chromium.org/3033028/diff/1/2 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/3033028/diff/1/2#newcode1205 net/ftp/ftp_network_transaction.cc:1205: nit: remove blank lines 1203 and 1205
10 years, 5 months ago (2010-07-27 15:59:27 UTC) #4
Paweł Hajdan Jr.
Gavin, style comments are a good thing, thanks for that. Yeah, the histogram code was ...
10 years, 5 months ago (2010-07-27 18:12:19 UTC) #5
gavinp
LGTM. Go ahead and add me to the TODO for the memorization, I might do ...
10 years, 5 months ago (2010-07-27 18:16:23 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/3033028/diff/7001/8001 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/3033028/diff/7001/8001#newcode1204 net/ftp/ftp_network_transaction.cc:1204: On 2010/07/27 18:16:23, gavinp wrote: > nit: remove blank ...
10 years, 5 months ago (2010-07-27 18:19:44 UTC) #7
eroman
10 years, 5 months ago (2010-07-28 00:05:29 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698