Page MenuHomePhabricator

netbase: Do not print an error on connection timeouts through proxy
ClosedPublic

Authored by deadalnix on Oct 3 2018, 15:24.

Details

Summary

netbase: Make InterruptibleRecv return an error code instead of bool

netbase: Do not print an error on connection timeouts through proxy

If a timeout happens while reading the proxy response, this effectively
means we timed out while connecting to the remote node. This is very
common for Tor, so do not print an error message.

This is a backport of Core PR9726

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/netbase.cpp
183 ↗(On Diff #5249)

I understand this is a backport, but what an awful class name...

This revision is now accepted and ready to land.Oct 3 2018, 19:58
deadalnix added inline comments.
src/netbase.cpp
183 ↗(On Diff #5249)

class AwflClsNm