aboutsummaryrefslogtreecommitdiff
path: root/src/txrequest.cpp
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-12-28 16:57:10 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-02-10 13:30:08 +0100
commit04ae8469049e1f14585aabfb618ae522150240a7 (patch)
tree80472dda64d7565ea923d84a9f11b60e243609d6 /src/txrequest.cpp
parentba9d73268f9585d4b9254adcf54708f88222798b (diff)
net: use Sock in InterruptibleRecv() and Socks5()
Use the `Sock` class instead of `SOCKET` for `InterruptibleRecv()` and `Socks5()`. This way the `Socks5()` function can be tested by giving it a mocked instance of a socket. Co-authored-by: practicalswift <practicalswift@users.noreply.github.com>
Diffstat (limited to 'src/txrequest.cpp')
0 files changed, 0 insertions, 0 deletions