[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/with-url e99f9ed 4/5: Signal sentinels on asynch n
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/with-url e99f9ed 4/5: Signal sentinels on asynch network problems |
Date: |
Sun, 22 Jan 2017 17:29:58 +0000 (UTC) |
branch: scratch/with-url
commit e99f9eddc113e3058de13a989ad6d7aec16364f3
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Signal sentinels on asynch network problems
---
src/process.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/process.c b/src/process.c
index c0c52c2..6153005 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3268,6 +3268,7 @@ finish_after_tls_connection (Lisp_Object proc)
{
pset_status (p, list2 (Qfailed,
build_string ("The Network Security Manager
stopped the connections")));
+ p->tick = ++process_tick;
deactivate_process (proc);
}
else if (p->outfd < 0)
@@ -3276,6 +3277,7 @@ finish_after_tls_connection (Lisp_Object proc)
if the NSM prompt above take a long time), so recheck the file
descriptor here. */
pset_status (p, Qfailed);
+ p->tick = ++process_tick;
deactivate_process (proc);
}
else if ((fd_callback_info[p->outfd].flags & NON_BLOCKING_CONNECT_FD) == 0)
@@ -3626,6 +3628,7 @@ connect_network_socket (Lisp_Object proc, Lisp_Object
addrinfos,
build_string ("TLS negotiation failed")));
else
pset_status (p, list2 (Qfailed, boot));
+ p->tick = ++process_tick;
}
}
#endif
@@ -4859,6 +4862,7 @@ check_for_dns (Lisp_Object proc)
concat3 (build_string ("Name lookup of "),
build_string (p->dns_request->ar_name),
build_string (" failed")))));
+ p->tick = ++process_tick;
}
free_dns_request (proc);
@@ -5073,6 +5077,7 @@ wait_reading_process_output (intmax_t time_limit, int
nsecs, int read_kbd,
deactivate_process (aproc);
pset_status (p, list2 (Qfailed,
build_string ("TLS
negotiation failed")));
+ p->tick = ++process_tick;
}
}
}