diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_dns.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coremods/core_dns.cpp b/src/coremods/core_dns.cpp index 91bd45b54..5493470ae 100644 --- a/src/coremods/core_dns.cpp +++ b/src/coremods/core_dns.cpp @@ -464,6 +464,9 @@ class MyManager : public Manager, public Timer, public EventHandler if (SocketEngine::SendTo(this, buffer, len, 0, &this->myserver.sa, this->myserver.sa_size()) != len) throw Exception("DNS: Unable to send query"); + + // Add timer for timeout + ServerInstance->Timers.AddTimer(req); } void RemoveRequest(DNS::Request* req) |