Commit db251cb6 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Merge branch 'trac5336'

parents 33dbf016 eac94fb8
......@@ -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);
}
}
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);
}
}
void
......
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