mercurial/wireprotov2server.py
changeset 40130 293835e0fff7
parent 40123 9b19b8ce3804
child 40133 762ef19a07e3
--- a/mercurial/wireprotov2server.py	Thu Oct 04 16:44:21 2018 -0700
+++ b/mercurial/wireprotov2server.py	Thu Oct 04 17:17:57 2018 -0700
@@ -156,7 +156,7 @@
 
     # We assume we have a unified framing protocol request body.
 
-    reactor = wireprotoframing.serverreactor()
+    reactor = wireprotoframing.serverreactor(ui)
     states = []
 
     while True:
@@ -191,7 +191,7 @@
     # TODO Some HTTP clients are full duplex and can receive data before
     # the entire request is transmitted. Figure out a way to indicate support
     # for that so we can opt into full duplex mode.
-    reactor = wireprotoframing.serverreactor(deferoutput=True)
+    reactor = wireprotoframing.serverreactor(ui, deferoutput=True)
     seencommand = False
 
     outstream = reactor.makeoutputstream()