]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] (workaround for lettuce) always use asynchronous UDP server objects.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 16 Mar 2012 04:17:08 +0000 (21:17 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 16 Mar 2012 04:17:08 +0000 (21:17 -0700)
this is a simplest fix to the lettuce resolver test failure.  note: this will
make the auth server slower.  a more complete fix will be done in #1784.
okayed by muks on jabber.

src/lib/asiodns/dns_service.h

index 66e0a1122e19b9c76c8c504001d1b296a1696ae7..e126d0fb28ee7ac5f3a20ef55b04c073dca199d8 100644 (file)
@@ -136,7 +136,7 @@ public:
     /// \throw isc::InvalidParameter if af is neither AF_INET nor AF_INET6.
     /// \throw isc::asiolink::IOError when a low-level error happens, like the
     ///     fd is not a valid descriptor or it can't be listened on.
-    void addServerUDPFromFD(int fd, int af,const UDPVersion param_flags = SYNC_);
+    void addServerUDPFromFD(int fd, int af,const UDPVersion param_flags = ASYNC_);
 
     /// \brief Remove all servers from the service
     void clearServers();