mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-17 11:07:10 +02:00
Update POCO library.
This commit is contained in:
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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user