Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8096

Adding LoggingFeature causes blocking read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 3.3.3
    • None
    • logging
    • None
    • Unknown

    Description

      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: 

       

      IOUtils.copyAtLeast(bis, bos, limit == -1 ? Integer.MAX_VALUE : limit);

       

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              kkurucz Krisztian Kurucz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m