jira-importer opened a new issue, #1524: URL: https://github.com/apache/httpcomponents-core/issues/1524
**[Mark Greene](https://issues.apache.org/jira/secure/[email protected])** opened **[HTTPCORE-309](https://issues.apache.org/jira/browse/HTTPCORE-309?redirect=false)** and commented I've noticed this specifically with 204 status codes (No Content). I've stepped through this and it appears the main cause is that the 'endOfStream' variable inside SimpleInputBuffer doesn't appear to be set to true. Here's a stack trace of a thread that is stuck in an infinite loop: "I/O dispatcher 7" daemon prio=10 tid=0x08ab8400 nid=0x2dcd runnable [0xf2bd3000] java.lang.Thread.State: RUNNABLE at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:129) at org.apache.http.nio.util.SimpleInputBuffer.read(SimpleInputBuffer.java:100) at org.apache.http.nio.entity.ContentInputStream.close(ContentInputStream.java:86) at org.apache.http.util.EntityUtils.consume(EntityUtils.java:85) --- **Affects:** 4.2.1 **Attachments:** - [asyncbug.tar](https://issues.apache.org/jira/secure/attachment/12544736/asyncbug.tar) (_28.00 kB_) -- 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]
