Skip to content
Snippets Groups Projects
Commit 17a67ee9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix FTPS upload failure: !DATA ERROR 0 receiving on data socket

Don't treat CRYPT_ERROR_COMPLETE (-24) as a socket error during upload since it's an indication that the remote closed the connection and is the normal "end of file/transfer" indicator, not an error. 'rd' is already 0 in this case, so no need to set at all (since recv() returns 0 upon disconnect and that's what we're emulating here).

Fixes issue #309 reported by Jas Hud.
parent 312daa40
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2508 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:09:32

avatar
Download artifacts

No artifacts found

Passed

00:09:51

avatar
Download artifacts

No artifacts found