diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-03-02 17:10:32 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-03-02 17:10:55 +0100 |
commit | ac5c5d0162a963be6fbaa53261c01705436a65f3 (patch) | |
tree | 6cd23e3a7c296e522ff13c0141f41d0e2b1d2b52 /test/functional/p2p_leak.py | |
parent | 1f886243e464032123045cbf70ff2a72de9b9c80 (diff) | |
parent | aff2748f8aee72f03b5fb6f6f97f0d0f66391755 (diff) | |
download | bitcoin-ac5c5d0162a963be6fbaa53261c01705436a65f3.tar.xz |
Merge #18168: httpserver: use own HTTP status codes
aff2748f8aee72f03b5fb6f6f97f0d0f66391755 httpserver: use own HTTP status codes (Filip Gospodinov)
Pull request description:
Before, macros defined in `<event2/http.h>` have been used for some HTTP status codes. `<event2/http.h>` is included implicitly and the usage of its status code macros is inconsistent with the majority HTTP response implementations in this file.
Now, the `HTTPStatusCode` enum from `<rpc/protocol.h>` is consistently used for all HTTP response implementations.
ACKs for top commit:
practicalswift:
ACK aff2748f8aee72f03b5fb6f6f97f0d0f66391755 -- patch looks correct
laanwj:
ACK aff2748f8aee72f03b5fb6f6f97f0d0f66391755
Tree-SHA512: 6a7043488b88dcd584215d16b5f16f7bd668fe5553d31298d1beef134d2b0648aef81533014e34d1cd600baa36ee4e853f195352f4a00c866bd5ab1ff688bd50
Diffstat (limited to 'test/functional/p2p_leak.py')
0 files changed, 0 insertions, 0 deletions