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
This commit is contained in:
parent
36e15396a7
commit
89ba044b37
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user