mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
fix openssl session resumption, add quiet shutdown option, support FTPS with hostname (#4103)
This commit is contained in:
@@ -325,6 +325,9 @@ protected:
|
||||
DEFAULT_TIMEOUT = 30000000 // 30 seconds default timeout for socket operations
|
||||
};
|
||||
|
||||
const std::string& getHost() const;
|
||||
/// Returns the host name
|
||||
|
||||
static bool isPositivePreliminary(int status);
|
||||
static bool isPositiveCompletion(int status);
|
||||
static bool isPositiveIntermediate(int status);
|
||||
@@ -422,6 +425,10 @@ inline const std::string& FTPClientSession::welcomeMessage()
|
||||
return _welcomeMessage;
|
||||
}
|
||||
|
||||
inline const std::string& FTPClientSession::getHost() const
|
||||
{
|
||||
return _host;
|
||||
}
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
||||
|
Reference in New Issue
Block a user