[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns 7993679: Respect DNS timeouts
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns 7993679: Respect DNS timeouts |
Date: |
Sun, 21 Feb 2016 02:37:34 +0000 |
branch: feature/async-dns
commit 799367921033a9bfca27109ba934cb2981c436f9
Author: Alain Schneble <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Respect DNS timeouts
* src/process.c (check_for_dns): If the async DNS request
failed and the associated process is still in "connect" state,
deactivate the process and set status to "failed".
---
src/process.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/process.c b/src/process.c
index a59e418..1f83327 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4706,7 +4706,7 @@ check_for_dns (Lisp_Object proc)
ip_addresses = Fnreverse (ip_addresses);
}
/* The DNS lookup failed. */
- else if (!EQ (p->status, Qconnect))
+ else if (EQ (p->status, Qconnect))
{
deactivate_process (proc);
pset_status (p, (list2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] feature/async-dns 7993679: Respect DNS timeouts,
Lars Ingebrigtsen <=