2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[master] Merge branch 'trac5336'

This commit is contained in:
Marcin Siodelski
2017-08-21 19:46:12 +02:00

View File

@@ -213,8 +213,10 @@ UnixDomainSocketImpl::sendHandler(const UnixDomainSocket::Handler& remote_handle
if ((ec.value() == boost::asio::error::would_block) ||
(ec.value() == boost::asio::error::try_again)) {
doSend(buffer, remote_handler);
} else {
remote_handler(ec, length);
}
remote_handler(ec, length);
}
void
@@ -246,8 +248,10 @@ UnixDomainSocketImpl::receiveHandler(const UnixDomainSocket::Handler& remote_han
if ((ec.value() == boost::asio::error::would_block) ||
(ec.value() == boost::asio::error::try_again)) {
doReceive(buffer, remote_handler);
} else {
remote_handler(ec, length);
}
remote_handler(ec, length);
}
void