2ff3ae07d1
* feat: accept ipv6 string in square brackets for `tr_address::from_string()` * test: add test case for ipv6 string in square brackets * fix: include square brackets in host component According to RFC3986: host = IP-literal / IPv4address / reg-name IP-literal = "[" ( IPv6address / IPvFuture ) "]" * fix: set ipv6-only socket before binding UDP socket Will return EINVAL on Linux otherwise * refactor: simplify code using `evutil` when binding TCP socket * fix: do not set SO_REUSEADDR for listening sockets on Windows systems Reason: https://stackoverflow.com/a/14388707/11390656 * fix: do not enclose ipv4 address string in square brackets |
||
---|---|---|
.. | ||
gtest | ||
libtransmission | ||
utils | ||
CMakeLists.txt |