• Kenton Varda's avatar
    Fix RPC loopback bootstrap(). · 77a57f8c
    Kenton Varda authored
    When VatNetwork::connect() returns nullptr, it means that the caller is trying to connect to itself.
    
    rpc-test.c++ failed to test this in two ways:
    - The test VatNetwork's connect() never returned null.
    - There was no test case for loopback connect.
    
    As a result, the code to handle loopback in rpc.c++ had bitrotted. It failed to handle the new bootstrap mechanism introduced in v0.5, and instead only implemented the restorer mechanism from 0.4.
    77a57f8c
Name
Last commit
Last update
..
cmake Loading commit data...
ekam-provider Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile.am Loading commit data...
Makefile.ekam Loading commit data...
README.txt Loading commit data...
afl-fuzz.sh Loading commit data...
configure.ac Loading commit data...
regenerate-bootstraps.sh Loading commit data...
setup-autotools.sh Loading commit data...
setup-ekam.sh Loading commit data...