aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/urldata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 23ade02fe..1d27d2626 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -771,7 +771,8 @@ struct connectdata {
#define PROT_SSL (1<<29) /* protocol requires SSL */
/* these ones need action before socket close */
-#define PROT_CLOSEACTION (PROT_FTP | PROT_IMAP | PROT_POP3)
+#define PROT_CLOSEACTION (PROT_FTP | PROT_IMAP | PROT_POP3 | \
+ PROT_SFTP | PROT_SCP)
#define PROT_DUALCHANNEL PROT_FTP /* these protocols use two connections */
/* 'dns_entry' is the particular host we use. This points to an entry in the