krb4 transfers get a sec_fflush_fd() to get uploads to work
authorDaniel Stenberg <daniel@haxx.se>
Mon, 25 Sep 2000 22:15:28 +0000 (22:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 25 Sep 2000 22:15:28 +0000 (22:15 +0000)
lib/ftp.c

index 2967232..174c41e 100644 (file)
--- 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;