httppeer: add TODO about delayed handling of ^C
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 22 Aug 2018 10:25:47 -0700
changeset 39437 3c6f7eebc010
parent 39436 3fe028b657bf
child 39438 c734a5c82f38
httppeer: add TODO about delayed handling of ^C When testing wire protocol v2 with large responses, I noticed that ^C doesn't result in immediate termination. I'm not sure what the root cause is. Let's add a TODO so we don't forget about it. Differential Revision: https://phab.mercurial-scm.org/D4438
mercurial/httppeer.py
--- a/mercurial/httppeer.py	Fri Aug 31 08:57:14 2018 -0700
+++ b/mercurial/httppeer.py	Wed Aug 22 10:25:47 2018 -0700
@@ -728,6 +728,8 @@
         if not self._responsef:
             return
 
+        # TODO ^C here may not result in immediate program termination.
+
         try:
             self._responsef.result()
         finally: