|
FTP: fix compatibility problems with MLSD by removing MLSD support.
Some FTP servers send MLSD listings with no facts, just
the file names. This is a valid RFC-3659 listing, but
is useless for web browsers.
In theory we could check whether a server advertises
MLSD support in FEAT response, or use LIST when MLSD
only returns file names, but the extra complexity
is not worth it.
All servers supporting MLSD must also support LIST,
so this should not regress compatibility.
This change also removes the "HPRC" directory listing parser.
Actually, it was just MLSD listing with no facts.
BUG= 65328, 65584
TEST=net_unittests, also see the bugs
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68859
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+6 lines, -633 lines) |
Patch |
 |
D |
net/data/ftp/dir-listing-hprc-1
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-hprc-1.expected
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-hprc-2
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-hprc-2.expected
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-hprc-3
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-hprc-3.expected
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-mlsd-1
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-mlsd-1.expected
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-mlsd-2
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
D |
net/data/ftp/dir-listing-mlsd-2.expected
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_directory_listing_buffer.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_directory_listing_buffer_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_hprc.h
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_hprc.cc
|
View
|
|
1 chunk |
+0 lines, -60 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_hprc_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_mlsd.h
|
View
|
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_mlsd.cc
|
View
|
|
1 chunk |
+0 lines, -142 lines |
0 comments
|
Download
|
 |
D |
net/ftp/ftp_directory_listing_parser_mlsd_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction.h
|
View
|
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction.cc
|
View
|
|
5 chunks |
+1 line, -46 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_network_transaction_unittest.cc
|
View
|
|
5 chunks |
+3 lines, -22 lines |
0 comments
|
Download
|
 |
M |
net/ftp/ftp_server_type_histograms.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
3 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|