HomePhabricator

rpc: pass errors from async_accept
0a0cd3455203Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: pass errors from async_accept

According to the boost::asio documentation,
the function signature of the handler must be:

void handler(
  const boost::system::error_code& error // Result of operation.
);

We were binding *all* the arguments, instead of all but the error,
resulting in nullary function that never got the error. Fix this
by adding an input argument substitution.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 7 2014, 07:09
deadalnixPushed on May 14 2017, 22:04
Parents
rABC2e2f6855df83: Merge pull request #4175
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC0a0cd3455203: rpc: pass errors from async_accept (authored by Wladimir J. van der Laan <laanwj@gmail.com>).May 12 2014, 07:30