فهرست منبع

Comment on the purpose of password file caching

Source commit: 9a1037a40075bcb0f5e85bfb2d3fd3905f23d069
Martin Prikryl 3 سال پیش
والد
کامیت
a00efae3bb
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      source/core/SessionData.cpp

+ 2 - 0
source/core/SessionData.cpp

@@ -1811,6 +1811,8 @@ void __fastcall TSessionData::RecryptPasswords()
   EncryptKey = EncryptKey;
 }
 //---------------------------------------------------------------------
+// Caching read password files, particularly when the file is actually a named pipe
+// that does not support repeated reading.
 static std::unique_ptr<TCriticalSection> PasswordFilesCacheSection(TraceInitPtr(new TCriticalSection()));
 typedef std::map<UnicodeString, UnicodeString> TPasswordFilesCache;
 static TPasswordFilesCache PasswordFilesCache;