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 09:56:00 UTC

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

Krisztian Kurucz created CXF-8096:
-------------------------------------

             Summary: 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


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)