summaryrefslogtreecommitdiffstats
path: root/examples/pdf
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-02-18 13:21:39 +0100
committerJüri Valdmann <juri.valdmann@qt.io>2020-02-21 09:30:54 +0100
commit7cc93a0953e5f923699c1945b17706364f0f2160 (patch)
tree32dc133a50f3459471a2c96fdfb662e56d0c0c60 /examples/pdf
parentecfaca151b4db1fee4f8aa817467b487586e7200 (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 'examples/pdf')
0 files changed, 0 insertions, 0 deletions