mirror of https://github.com/bitcoin/bitcoin
pull/22294/head4e353cb618
http: Release work queue after event base finish (João Barbosa) Pull request description: This fixes a race between `http_request_cb` and `StopHTTPServer` where the work queue is used after release. Fixes #18856. ACKs for top commit: fjahr: Code review ACK4e353cb618
achow101: ACK4e353cb618
LarryRuane: ACK4e353cb618
hebasto: ACK4e353cb618
, tested (rebased on top of master9313c4e6aa
) on Linux Mint 20.1 (x86_64) using MarcoFalke's [patch](https://github.com/bitcoin/bitcoin/pull/19033#issuecomment-640106647), including different `-rpcthreads`/`-rpcworkqueue` cases. The bug is fixed. The code is correct. Tree-SHA512: 185d2a9744d0d5134d782bf321ac9958ba17b11a5b3d70b4897c8243e6b146dfd3f23c57aef8e10ae9484374120b64389c1949a9cf0a21dccc47ffc934c20930
commit
6a67366fdc
Loading…
Reference in new issue