aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-09-25 22:15:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-09-25 22:15:28 +0000
commitad01481b288c654c5b89bfd9c1035963d5d3589a (patch)
tree4f4e95dcc26b53a6674f7806654d712635df6383
parent28ad7dc4a1e78d55a17fe4c0b20823791ce74caa (diff)
krb4 transfers get a sec_fflush_fd() to get uploads to work
-rw-r--r--lib/ftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 296723246..174c41e3e 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -535,6 +535,9 @@ CURLcode ftp_done(struct connectdata *conn)
return CURLE_FTP_COULDNT_RETR_FILE;
}
}
+#ifdef KRB4
+ sec_fflush_fd(conn, data->secondarysocket);
+#endif
/* shut down the socket to inform the server we're done */
sclose(data->secondarysocket);
data->secondarysocket = -1;