summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_network_transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/ftp/ftp_network_transaction.h')
-rw-r--r--net/ftp/ftp_network_transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h
index 0bb67e5..53f0b29 100644
--- a/net/ftp/ftp_network_transaction.h
+++ b/net/ftp/ftp_network_transaction.h
@@ -142,7 +142,8 @@ class FtpNetworkTransaction : public FtpTransaction {
const FtpRequestInfo* request_;
FtpResponseInfo response_;
- HostResolver resolver_;
+ // Cancels the outstanding request on destruction.
+ SingleRequestHostResolver resolver_;
AddressList addresses_;
// User buffer and length passed to the Read method.