Chromium Code Reviews
Help | Chromium Project | Sign in
(241)

Issue 2985012: FTP: add more detailed error codes based on RFC 959. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 10 months ago by Paweł Hajdan Jr.
Modified:
4 years ago
Reviewers:
eroman, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

FTP: add more detailed error codes based on RFC 959. This does not handle all cases yet, for simplicity. TEST=net_unittests BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52495

Patch Set 1 #

Total comments: 7

Patch Set 2 : fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -106 lines) Patch
M net/base/net_error_list.h View 1 1 chunk +32 lines, -2 lines 0 comments Download
M net/ftp/ftp_network_transaction.h View 2 chunks +0 lines, -27 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 14 chunks +89 lines, -44 lines 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 1 21 chunks +33 lines, -33 lines 1 comment Download
Commit: CQ not working?

Messages

Total messages: 5 (0 generated)
Paweł Hajdan Jr.
Hope you like it! No more ERR_FAILEDs in ftp_network_transaction.cc.
4 years, 10 months ago (2010-07-14 21:53:56 UTC) #1
eroman
LGTM. I am very supportive of having non-ERR_FAILED codes :) http://codereview.chromium.org/2985012/diff/1/2 File net/base/net_error_list.h (right): http://codereview.chromium.org/2985012/diff/1/2#newcode394 ...
4 years, 10 months ago (2010-07-14 22:35:07 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/2985012/diff/1/2 File net/base/net_error_list.h (right): http://codereview.chromium.org/2985012/diff/1/2#newcode394 net/base/net_error_list.h:394: NET_ERROR(FTP_COMMAND_FAILED, -601) On 2010/07/14 22:35:07, eroman wrote: > I ...
4 years, 10 months ago (2010-07-15 01:56:02 UTC) #3
eroman
lgtm
4 years, 10 months ago (2010-07-15 01:59:19 UTC) #4
wtc
4 years, 10 months ago (2010-07-20 18:37:09 UTC) #5
LGTM!  Thanks.

http://codereview.chromium.org/2985012/diff/6001/7004
File net/ftp/ftp_network_transaction_unittest.cc (right):

http://codereview.chromium.org/2985012/diff/6001/7004#newcode85
net/ftp/ftp_network_transaction_unittest.cc:85: "599 fail\r\n");
Just curious: what do you use the "599" response status code for in unit tests?

Ah, I see that eroman asked the same question.  So your use of 599 is worth
a comment!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be