-
- Downloads
filetransfer: avoid to close files twice
For incoming file, FTP should be the entry point for the daemon to close the stream. And this info is already stored into ChanneledFileTransfer, so just protect FtpServer::closeCurrentFile() to avoid to close the stream twice Change-Id: I48bc8cc709e40cdff3c5e930ebfacf63c91f20ac Gitlab: #285
Showing
- src/ftp_server.cpp 2 additions, 4 deletionssrc/ftp_server.cpp
- src/ftp_server.h 1 addition, 1 deletionsrc/ftp_server.h
- src/jamidht/channeled_transfers.cpp 2 additions, 7 deletionssrc/jamidht/channeled_transfers.cpp
- src/jamidht/channeled_transfers.h 0 additions, 1 deletionsrc/jamidht/channeled_transfers.h
- src/jamidht/p2p.cpp 4 additions, 19 deletionssrc/jamidht/p2p.cpp
Please register or sign in to comment