From 89ba044b378ff9341fc32992cb00021190b2072b Mon Sep 17 00:00:00 2001 From: Kevin Hock Date: Mon, 11 Dec 2006 02:58:07 +0000 Subject: [PATCH 1/1] As per discussion in bug #1612106, change default socket flag from NONE to NOWAIT to prevent application hang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/ftp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index c7318863ee..c9934c1bb3 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -87,7 +87,7 @@ wxFTP::wxFTP() m_passwd << wxGetUserId() << wxT('@') << wxGetFullHostName(); SetNotify(0); - SetFlags(wxSOCKET_NONE); + SetFlags(wxSOCKET_NOWAIT); m_bPassive = true; SetDefaultTimeout(60); // Default is Sixty Seconds m_bEncounteredError = false; -- 2.45.2