##// END OF EJS Templates
largefiles: use filechunkiter for iterating largefile when serving getlfile...
Mads Kiilerich -
r19009:07e40d58 default
parent child Browse files
Show More
@@ -63,7 +63,7 b' def getlfile(repo, proto, sha):'
63 63 # ssh proto does for string responses.
64 64 def generator():
65 65 yield '%d\n' % length
66 for chunk in f:
66 for chunk in util.filechunkiter(f):
67 67 yield chunk
68 68 return wireproto.streamres(generator())
69 69
General Comments 0
You need to be logged in to leave comments. Login now