[ https://issues.apache.org/jira/browse/CXF-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931535#comment-16931535 ]
Krisztian Kurucz edited comment on CXF-8096 at 9/17/19 2:47 PM: ---------------------------------------------------------------- Hi [~ffang] Thank you for your answer! Is it possible to fix that bad design (e.g.: fix with FilterInputStreams)? I think it is a bug instead of a feature. -Krisz was (Author: kkurucz): Hi [~ffang] Thank you for your answer! Is it possible to fix that bad design? I think it is a bug instead of a feature. -Krisz > 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)