On 04/25/2017 04:06 PM, Daniel P. Berrange wrote: > On Tue, Apr 25, 2017 at 09:22:51AM +0200, Michal Privoznik wrote: >> Dear list, >> > I see three possible options (besides ignoring it) > > - Turn off the keepalive somehow when we want to pause reading from > the stream > > - Somehow introduce stream "chunking". eg assume a chunk size of 10 MB > is somehow enabled. The server would send 10 MB, and then not send > any more data until the client issued a "continue" message of some > kind, whereupon a further 10 MB is permitted to be sent. This could work. But what I am worried about is that this relies on the other side playing nicely. IOW the attack surface is still the same. BTW: I've done testing the other way when iohelper is slow. In this case the connection dies due to keepalive. Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list