From: JINMEI Tatuya Date: Fri, 16 Mar 2012 04:17:08 +0000 (-0700) Subject: [master] (workaround for lettuce) always use asynchronous UDP server objects. X-Git-Tag: trac2351_base~226^2~116^2~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b842ace68bb3cebe88c05c72c11dd25d5ebcf9d3;p=thirdparty%2Fkea.git [master] (workaround for lettuce) always use asynchronous UDP server objects. 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. --- diff --git a/src/lib/asiodns/dns_service.h b/src/lib/asiodns/dns_service.h index 66e0a1122e..e126d0fb28 100644 --- a/src/lib/asiodns/dns_service.h +++ b/src/lib/asiodns/dns_service.h @@ -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();