mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
note a bug in our dns error handling. we should fix this sometime.
svn:r2149
This commit is contained in:
parent
de0f72ce2a
commit
3b00c950c2
@ -661,6 +661,7 @@ static int dnsworker_main(void *data) {
|
||||
result = -1;
|
||||
switch (result) {
|
||||
case 1:
|
||||
/* XXX008 result can never be 1, because we set it to -1 above on error */
|
||||
log_fn(LOG_INFO,"Could not resolve dest addr %s (transient).",address);
|
||||
answer[0] = DNS_RESOLVE_FAILED_TRANSIENT;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user