On Mon, Sep 22, 2014 at 10:02:29PM -0400, Stephen Powell wrote:
> I tried setting both of these server options to yes and tried my "get" with
> lftp again.  The last few lines of output in the debug file are now as 
> follows:
>
> ---- Got EOF on data connection
> ---- Closing data socket
> <--- 426 Failure writing network stream.
> ---- received all data but no EOF

Please test this change.

--
   Alexander.
diff --git a/src/ftpclass.cc b/src/ftpclass.cc
index 4693475..1c37a13 100644
--- a/src/ftpclass.cc
+++ b/src/ftpclass.cc
@@ -2406,6 +2406,7 @@ int   Ftp::Do()
         if(conn->data_iobuf->Size()==0 && conn->data_iobuf->Eof())
         {
            LogNote(9,"Got EOF on data connection");
+           conn->data_iobuf->PutEOF(); // for ssl shutdown
            DataClose();
            if(expect->IsEmpty())
            {
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to