mercurial/httppeer.py
changeset 40034 393e44324037
parent 40026 7e807b8a9e56
child 40129 293835e0fff7
--- a/mercurial/httppeer.py	Mon Oct 01 12:30:32 2018 -0700
+++ b/mercurial/httppeer.py	Mon Oct 01 13:17:38 2018 -0700
@@ -405,7 +405,11 @@
         return True
 
     def close(self):
-        pass
+        self.ui.note(_('(sent %d HTTP requests and %d bytes; '
+                       'received %d bytes in responses)\n') %
+                     (self._urlopener.requestscount,
+                      self._urlopener.sentbytescount,
+                      self._urlopener.receivedbytescount))
 
     # End of ipeerconnection interface.
 
@@ -758,7 +762,11 @@
         return False
 
     def close(self):
-        pass
+        self.ui.note(_('(sent %d HTTP requests and %d bytes; '
+                       'received %d bytes in responses)\n') %
+                     (self._opener.requestscount,
+                      self._opener.sentbytescount,
+                      self._opener.receivedbytescount))
 
     # End of ipeerconnection.