mercurial/keepalive.py
branchstable
changeset 17251 98166640b356
parent 16705 c2d9ef43ff6c
child 17424 e7cfe3587ea4
equal deleted inserted replaced
17250:18f935b4c05a 17251:98166640b356
   209             for h in conns:
   209             for h in conns:
   210                 self._cm.remove(h)
   210                 self._cm.remove(h)
   211                 h.close()
   211                 h.close()
   212 
   212 
   213     def _request_closed(self, request, host, connection):
   213     def _request_closed(self, request, host, connection):
   214         """tells us that this request is now closed and the the
   214         """tells us that this request is now closed and that the
   215         connection is ready for another request"""
   215         connection is ready for another request"""
   216         self._cm.set_ready(connection, 1)
   216         self._cm.set_ready(connection, 1)
   217 
   217 
   218     def _remove_connection(self, host, connection, close=0):
   218     def _remove_connection(self, host, connection, close=0):
   219         if close:
   219         if close: