[ https://issues.apache.org/jira/browse/TIKA-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034859#comment-16034859 ]
Sergey Beryozkin commented on TIKA-2384: ---------------------------------------- Hi Tim, CXF will only auto-close InputStream if its task is to copy InputStream (or it can avoid doing it if configured as such), which can only happen if InputStream returned as a service method response (directly or as JAX-RS Response entity) > Double close of InputStream in accept text/plain in tika-server > --------------------------------------------------------------- > > Key: TIKA-2384 > URL: https://issues.apache.org/jira/browse/TIKA-2384 > Project: Tika > Issue Type: Bug > Components: server > Affects Versions: 1.15 > Reporter: Tim Allison > Priority: Blocker > > As reported by Haris Osmanagic on the user list, TikaResource closes the > InputStream twice on requests for text/plain. -- This message was sent by Atlassian JIRA (v6.3.15#6346)