sapling/remotefilelog
Olivier Trempe a2ce732706 fileserverclient: fixed lingering ssh connection due to reference cycle on pull operations
Calling wrapfunction on the remotefilepeer(sshpeer) object in exchangepull
function introduces a reference cycle. Hence, this object will not be deleted
until the process dies. This is not a big issue for processes having a short
lifetime(e.g. lauched by command line.)
However, for persistent processes (e.g. TortoiseHg), this can lead to multiple
lingering ssh connections to the server(actually one by pull operation).

The fix is to not wrap the remotefilepeer._callstream. This method is defined
right into the remotefilepeer object. The required repo data is made available
in the remotefilepeer object by monkeypatching this object in the exchangepull
function.
2016-07-22 13:47:02 -07:00
..
__init__.py fileserverclient: fixed lingering ssh connection due to reference cycle on pull operations 2016-07-22 13:47:02 -07:00
basepack.py repack: unmap memory occasionally to reclaim space 2016-07-12 11:46:48 -07:00
basestore.py cachegroup: fix directory permissions for shared cache 2016-07-07 15:58:59 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
constants.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
contentstore.py unionstore: allow incomplete delta chains 2016-05-26 02:15:46 -07:00
datapack.py repack: unmap memory occasionally to reclaim space 2016-07-12 11:46:48 -07:00
debugcommands.py commands: tell @command decorator about arguments 2016-06-30 10:14:17 -07:00
fileserverclient.py fileserverclient: fixed lingering ssh connection due to reference cycle on pull operations 2016-07-22 13:47:02 -07:00
historypack.py repack: unmap memory occasionally to reclaim space 2016-07-12 11:46:48 -07:00
metadatastore.py unionstore: allow partial history output from union stores 2016-05-26 02:13:53 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py copyfrom: fix copy metadata in local blobs 2016-06-06 14:16:06 -07:00
remotefilelogserver.py packfetch: remove copy metadata from data before sending over the wire 2016-05-20 09:31:34 -07:00
repack.py repack: fix repack heuristic to account for unusual copies 2016-07-07 15:58:47 -07:00
shallowbundle.py shallowbundle: specifically compare instance to remotefilelog.remotefilelog 2016-07-15 23:53:09 -07:00
shallowrepo.py stores: reverse order of cache and local stores 2016-06-16 10:22:31 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py cachegroup: fix directory permissions for shared cache 2016-07-07 15:58:59 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00