Mercurial > public > mercurial-scm > hg-stable
diff mercurial/httppeer.py @ 40130:293835e0fff7
wireprotov2: pass ui into clientreactor and serverreactor
This will allow us to use config options to influence compression
settings.
Differential Revision: https://phab.mercurial-scm.org/D4919
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 04 Oct 2018 17:17:57 -0700 |
parents | 393e44324037 |
children | 762ef19a07e3 |
line wrap: on
line diff
--- a/mercurial/httppeer.py Thu Oct 04 16:44:21 2018 -0700 +++ b/mercurial/httppeer.py Thu Oct 04 17:17:57 2018 -0700 @@ -514,7 +514,8 @@ def sendv2request(ui, opener, requestbuilder, apiurl, permission, requests, redirect): - reactor = wireprotoframing.clientreactor(hasmultiplesend=False, + reactor = wireprotoframing.clientreactor(ui, + hasmultiplesend=False, buffersends=True) handler = wireprotov2peer.clienthandler(ui, reactor,