rpcclient: support canceling in-flight http requests
This commit improves how the btcd RPC client shuts down when using plain HTTP POST mode. Previously, an in-flight HTTP request could keep running after the client was asked to shut down, potentially making shutdown hang or wait for a netwo…
5b189f5fby Matt Leon+458−552 files