mercurial/wireprotoframing.py
changeset 40328 2c55716f8a1c
parent 40138 b5bf3dd6ec5b
child 43076 2372284d9457
--- a/mercurial/wireprotoframing.py	Wed Sep 26 14:38:43 2018 -0700
+++ b/mercurial/wireprotoframing.py	Tue Oct 16 21:35:33 2018 +0200
@@ -1146,6 +1146,14 @@
                         for frame in emitter.send(o.data):
                             yield frame
 
+                    elif isinstance(
+                        o, wireprototypes.indefinitebytestringresponse):
+                        for chunk in cborutil.streamencodebytestringfromiter(
+                            o.chunks):
+
+                            for frame in emitter.send(chunk):
+                                yield frame
+
                     # A regular object is CBOR encoded.
                     else:
                         for chunk in cborutil.streamencode(o):