fix openssl session resumption, add quiet shutdown option, support FTPS with hostname (#4103)

This commit is contained in:
chrisbednarski
2023-11-27 04:12:11 +11:00
committed by GitHub
parent 11de40399c
commit 388a3b4010
6 changed files with 46 additions and 2 deletions

View File

@@ -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