Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JsonRpcConnection: don't write any data on shutdown
In fact, this is already done for the outer loop (for each bulk), just not yet for the inner one (for each message of a bulk). So once the remote signals EOF, don't try to get things done until write error (which can't be associated with a particular message anyway, due to buffering), but just let the peer go.
- Loading branch information