mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
note a bug in our dns error handling. we should fix this sometime.
svn:r2149
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user