changeset 39437:3c6f7eebc010

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 22 Aug 2018 10:25:47 -0700
parents 3fe028b657bf
children c734a5c82f38
files mercurial/httppeer.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: