mercurial/wireprotoserver.py
changeset 37285 3ed344546d9e
parent 37129 aaabd709df72
child 37288 9bfcbe4f4745
--- a/mercurial/wireprotoserver.py	Mon Mar 26 13:51:22 2018 -0700
+++ b/mercurial/wireprotoserver.py	Mon Mar 26 13:57:22 2018 -0700
@@ -546,9 +546,11 @@
 
     res.status = b'200 OK'
     res.headers[b'Content-Type'] = FRAMINGTYPE
+    stream = wireprotoframing.stream()
 
     if isinstance(rsp, wireprototypes.bytesresponse):
-        action, meta = reactor.onbytesresponseready(command['requestid'],
+        action, meta = reactor.onbytesresponseready(stream,
+                                                    command['requestid'],
                                                     rsp.data)
     else:
         action, meta = reactor.onapplicationerror(