You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (Jira)" <ji...@apache.org> on 2019/09/13 15:21:00 UTC

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

     [ https://issues.apache.org/jira/browse/CXF-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned CXF-8096:
---------------------------------

    Assignee: Freeman Fang

> 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
>            Assignee: Freeman Fang
>            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)