Commit 38db5558 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

clarified that errors are intentionally ignored in UDPServer::sendCompleted()


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1307 e5f2f494-b856-4b98-b285-d166d9295462
parent 87ccb0c6
......@@ -73,13 +73,13 @@ const char* DNSPORT = "5300";
* todo: turn this around, and put handlers in the authserver
* class itself? */
namespace {
AuthSrv *auth_server;
AuthSrv *auth_server;
#ifdef HAVE_BOOSTLIB
// TODO: this should be a property of AuthSrv, and AuthSrv needs
// a stop() method (so the shutdown command can be handled)
boost::asio::io_service io_service_;
// TODO: this should be a property of AuthSrv, and AuthSrv needs
// a stop() method (so the shutdown command can be handled)
boost::asio::io_service io_service_;
#else
bool running;
bool running;
#endif
}
......@@ -285,9 +285,11 @@ public:
}
}
void sendCompleted(const boost::system::error_code& error,
size_t bytes_sent)
void sendCompleted(const boost::system::error_code& error UNUSED_PARAM,
size_t bytes_sent UNUSED_PARAM)
{
// Even if error occurred there's nothing to do. Simply handle
// the next request.
startReceive();
}
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment