diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-16 10:17:56 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-09-17 21:45:30 +0200 |
commit | 9f9a1fb4ec3319047388de7d3467558c2a68404a (patch) | |
tree | 40601d684ca364920330034d044e41e970542128 /package/dtd | |
parent | f4820471141fb2cfc3e9fd60d94150ca94f2fbd7 (diff) |
Related rhbz#1259746: Buffer file content read from GIO UCP
...for one, this avoids sending seek requests down the GIO/GVFS stack, which can
silently fail with corrupt data read from certain broken servers for current
versions of the GIO/GVFS stack; for another, it should considerably speed up
loading documents via the GIO UCP, as LO's document type detection is notorious
for issuing lots of seek and (small-chunk and/or re-) read operations on a file.
(This issue has become more relevant after
51e0d789c344547956764c3b5f0ef5a304f4e0aa "rhbz#1134285: Access dav, davs URLs
via GVFS," where the old route via the WebDAV UCP was apparently not affected by
those broken servers, so happened to start affecting opening certain remote
files in LO via Nautilus.)
(cherry picked from commit 93a0696e74e96e5a5ca821f33cb791b87e876f49)
Conflicts:
ucb/source/ucp/gio/gio_inputstream.hxx
Change-Id: I91f91128b2d1a16f976eafeacf216a91747f4df1
Reviewed-on: https://gerrit.libreoffice.org/18633
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'package/dtd')
0 files changed, 0 insertions, 0 deletions