mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
remove long deprecated flushCache() method
This commit is contained in:
@@ -144,13 +144,6 @@ public:
|
|||||||
/// has been compiled with -DPOCO_HAVE_LIBRESOLV. Otherwise
|
/// has been compiled with -DPOCO_HAVE_LIBRESOLV. Otherwise
|
||||||
/// it will do nothing.
|
/// it will do nothing.
|
||||||
|
|
||||||
//@ deprecated
|
|
||||||
static void flushCache();
|
|
||||||
/// Flushes the internal DNS cache.
|
|
||||||
///
|
|
||||||
/// As of 1.4.2, the DNS cache is no longer used
|
|
||||||
/// and this method does not do anything.
|
|
||||||
|
|
||||||
static std::string hostName();
|
static std::string hostName();
|
||||||
/// Returns the host name of this host.
|
/// Returns the host name of this host.
|
||||||
|
|
||||||
|
|||||||
@@ -204,11 +204,6 @@ void DNS::reload()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DNS::flushCache()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
std::string DNS::hostName()
|
std::string DNS::hostName()
|
||||||
{
|
{
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
|
|||||||
Reference in New Issue
Block a user