Update POCO library.

This commit is contained in:
Sandu Liviu Catalin committed 2023-03-23 20:19:11 +02:00
1 parent 8d15f4b6e9
commit 233fc103f9
2521 files changed
+257092 -72789

No files matched your search

@@ -64,6 +64,9 @@ public:
bool isSecure() const;
/// Returns true if the session is FTPS.
void forceSessionReuse(bool force = true);
/// Enable or disable session reusing
protected:
virtual StreamSocket establishDataConnection(const std::string& command, const std::string& arg);
/// Create secure data connection
@@ -80,6 +83,7 @@ private:
bool _enableFTPS = true;
bool _secureDataConnection = false;
bool _forceSessionReuse = false;
Context::Ptr _pContext;
};
@@ -95,6 +99,12 @@ inline bool FTPSClientSession::isSecure() const
}
inline void FTPSClientSession::forceSessionReuse(bool force)
{
_forceSessionReuse = force;
}
} } // namespace Poco::Net