# HG changeset patch # User Gregory Szorc # Date 1534958747 25200 # Node ID 3c6f7eebc010a0f147b36a2c77757c05909eeb14 # Parent 3fe028b657bf5397c5fd430427354e79248ec38b 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 diff -r 3fe028b657bf -r 3c6f7eebc010 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: