summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-10 10:37:29 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-11-10 16:39:07 +0100
commite40a4a3e381a8cb6c8b924e9ce545512769bddff (patch)
tree317f088aef988abf6d872b53b88a111cf1eeddbf /apt-pkg/pkgcachegen.cc
parent28ee7f19b865c32ce1b03cc0afa26983a0208693 (diff)
improve SOCKS error messages for http slightly
The 0.0.0.0:0 tor reports is pretty useless by itself, but even if an IP would be reported it is better to show the user the hostname we wanted the proxy to connect to in the same error message. We improve upon it further by looking for this bind address in particular and remap error messages slightly to give users a better chance of figuring out what went wrong. Upstream Tor can't do that as it is technically wrong.
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
0 files changed, 0 insertions, 0 deletions