mirror of https://github.com/bitcoin/bitcoin
Previously, when an invalid port was specified in `-rpcbind`, the `SplitHostPort()` return value in `HTTPBindAddresses()` was ignored and attempt would be made to bind to the default rpcbind port (with the host/port treated as a host). This rearranges port checking code in `AppInitMain()` to handle the invalid port before reaching `HTTPBindAddresses()`. Also adjusts associated functional tests.pull/30679/head
parent
83b67f2e6d
commit
d38e3aed89
Loading…
Reference in new issue