[
https://issues.apache.org/jira/browse/TIKA-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved TIKA-4403.
-------------------------------
Fix Version/s: 4.0.0
3.1.1
Resolution: Fixed
I couldn't easily cherrypick this back to 2.x.
> Implement transferTo in BoundedInputStream
> ------------------------------------------
>
> Key: TIKA-4403
> URL: https://issues.apache.org/jira/browse/TIKA-4403
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Minor
> Fix For: 4.0.0, 3.1.1
>
>
> When we're copying a temp file in TikaInputStream with a BoundedInputStream,
> we're getting an exception with mark() reset() because under the hood
> Files.copy is using {{transferTo}}. That transfers all the bytes and does not
> respect the bound.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)