• R/O
  • HTTP
  • SSH
  • HTTPS

ffftp: Commit

FFFTPのソースコードです。


Commit MetaInfo

Revision391e3074b3447b3a0d5f9153eb82cb87c89dfede (tree)
Zeit2011-10-13 21:15:23
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of timeout of FTPS negotiation.

Ändern Zusammenfassung

Diff

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
--- a/socketwrapper.c
+++ b/socketwrapper.c
@@ -189,7 +189,7 @@ BOOL AttachSSL(SOCKET s)
189189 while(pSSL_connect(*ppSSL) != 1)
190190 {
191191 LeaveCriticalSection(&g_OpenSSLLock);
192- if(g_pOpenSSLTimeoutCallback() || timeGetTime() - Time >= g_OpenSSLTimeout)
192+ if(g_pOpenSSLTimeoutCallback() || (g_OpenSSLTimeout > 0 && timeGetTime() - Time >= g_OpenSSLTimeout))
193193 {
194194 DetachSSL(s);
195195 r = FALSE;
Show on old repository browser