diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2020-02-18 13:21:39 +0100 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2020-02-21 09:30:54 +0100 |
commit | 7cc93a0953e5f923699c1945b17706364f0f2160 (patch) | |
tree | 32dc133a50f3459471a2c96fdfb662e56d0c0c60 /.gitattributes | |
parent | ecfaca151b4db1fee4f8aa817467b487586e7200 (diff) |
Fix CustomURLLoader not supporting responses over 64k bytes
Mojo data pipes are non-blocking, meaning we have to wait until there's room in
a buffer before we can transfer data from the QIODevice to the pipe.
Use mojo::SimpleWatcher to monitor the pipe for readiness and use the two-phase
BeginWriteData/EndWriteData API to let the QIODevice write directly into the
pipe's internal buffer, avoiding a copy.
Fixes: QTBUG-82244
Change-Id: I65e69ce72d0e99bc047c57b5a22531c0891c553a
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions