瀏覽代碼

Disconnect (at least during authentication) was not detected correctly with PuTTY 6c924ba code

Source commit: 521f8347185a16f438f4ee4048981820aa714d5e
Martin Prikryl 6 年之前
父節點
當前提交
fb68464892
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      source/core/SecureShell.cpp

+ 1 - 0
source/core/SecureShell.cpp

@@ -1910,6 +1910,7 @@ bool __fastcall TSecureShell::EventSelectLoop(unsigned int MSec, bool ReadEventR
       unsigned int WaitResult;
       do
       {
+        CheckConnection();
         unsigned int TimeoutStep = std::min(GUIUpdateInterval, Timeout);
         if (toplevel_callback_pending(GetCallbackSet()))
         {