mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 13:42:10 +02:00
d61053d97bbuild: Drop libevent from bitcoin-cli link libraries (Fabian Jahr)798d051c80cli: Remove libevent usage (Fabian Jahr)376e7ef07cutil: Expose IOErrorIsPermanent in sock header (Fabian Jahr)5d562430denetbase: Add timeout parameter to ConnectDirectly (Fabian Jahr)a988ac592fcli: Add HTTPResponseHeaders class for parsing response headers (Fabian Jahr)c471c5085bcommon: Add unused UrlEncode function (Fabian Jahr)9687ef1bd9ci: Tolerate unused free functions in intermediate commits (Fabian Jahr) Pull request description: Part of the effort to remove the libevent dependency altogether, see #31194 This takes the parsing logic from the [`HTTPHeaders` class](d549f01caa) from #32061 and puts it into `bitcoin-cli` as a small `HTTPResponseHeaders` class with a comment to revisit potentially sharing this code somehow. This decoupled the two pulls which seems like the most sensible way to deal with this since the actual overlap is very small compared to the impact of each of the pulls which should ideally not block each other. Otherwise the change itself replaces the libevent-based HTTP client with a simple synchronous implementation which uses the `Sock` class directly. ACKs for top commit: hodlinator: re-ACKd61053d97btheStack: re-ACKd61053d97bw0xlt: ACKd61053d97bTree-SHA512: a3580a45faf540ee844aac8cb1dc056a89e8e11b45781d2807baa4736d5c0934284c6066206101b6984111a48a186d67845545d07639b623cb35ccc2d85d3ab2