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:
@@ -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
|
||||
|
Reference in New Issue
Block a user