You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Krisztian Kurucz (Jira)" <ji...@apache.org> on 2019/08/22 19:49:00 UTC

[jira] [Commented] (CXF-8096) Adding LoggingFeature causes blocking read

    [ https://issues.apache.org/jira/browse/CXF-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913644#comment-16913644 ] 

Krisztian Kurucz commented on CXF-8096:
---------------------------------------

Created a test for that case in the PR

> Adding LoggingFeature causes blocking read
> ------------------------------------------
>
>                 Key: CXF-8096
>                 URL: https://issues.apache.org/jira/browse/CXF-8096
>             Project: CXF
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 3.3.3
>            Reporter: Krisztian Kurucz
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Adding org.apache.cxf.feature.LoggingFeature to WebClient feature affects the reading of the response is blocked until the stream will be closed.
> Without LoggingFeature the response's input stream can be get immediately for further processing.
> error-prone line in WireTapIn::handleInputStream(Message, InputStream)::Line92: 
>  
> {code:java}
> IOUtils.copyAtLeast(bis, bos, limit == -1 ? Integer.MAX_VALUE : limit);{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)