ok2c commented on PR #513:
URL: 
https://github.com/apache/httpcomponents-core/pull/513#issuecomment-4732189093

   @reta Would you consider applying the changes proposed by @rschmitt in #674 ?
   
   It looks very plausible CXF presently does not quite fulfill the 
`AsyncDataProducer` contact.
   
   ```
       /**
        * Returns the number of bytes immediately available for output.
        * This method can be used as a hint to control output events
        * of the underlying I/O session.
        * <p>
        * Please note this method should return zero if the data producer
        * is unable to produce any more data, in which case
        * {@link #produce(DataStreamChannel)} method will not get triggered.
        * The producer can resume writing out data asynchronously
        * once more data becomes available or request output readiness events
        * with {@link DataStreamChannel#requestOutput()}.
        *
        * @return the number of bytes immediately available for output
        *
        * @see #produce(DataStreamChannel)
        * @see DataStreamChannel#requestOutput()
        */
       int available();
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to