You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2019/01/09 11:21:00 UTC

[jira] [Resolved] (HTTPCORE-566) Thread spinning at ChunkEncoder.write method

     [ https://issues.apache.org/jira/browse/HTTPCORE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-566.
----------------------------------------
    Resolution: Cannot Reproduce

[~Sharm@] Please upgrade HttpCore depending on your JRE level (see below), reproduce the issue, submit a test app demonstrating the issue (or at the very least a complete wire / context log) and re-open this ticket
1. If you are using Java 10 or earlier, upgrade to 4.4.10
2. *Important* If you are using Java 11 or later please upgrade to the *latest* *4.4.11* snapshot.

Oleg

> Thread spinning at ChunkEncoder.write method
> --------------------------------------------
>
>                 Key: HTTPCORE-566
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-566
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: Stuck
>            Reporter: M0nika
>            Priority: Major
>         Attachments: Error-logs.txt
>
>
> My application is using the HttpCore-nio-4.3.3 component.I am facing the a thread spinning issue related to HTTP Core dependency.I have attached the log file. 
> I found the same issue is reported in apache mail archive for the httpcore 4.3.3.
> https://www.mail-archive.com/dev@hc.apache.org/msg17340.html
> In which they have provided the below solution to resolved this issue:
> *After replacing the while loop in the ChunkEncorder  with a if statement, we were able to solve the thread spinning issue. However, we couldn't figure out the root cause that makes the while loop spin forever.*
> https://www.mail-archive.com/dev@hc.apache.org/msg17563.html
> But in the master branch of httpcore this fixed is not present in ChunkEncoder file.Please let me know this issue is fixed in latest releases or not?
> If it is fixed please help me to know where you have fixed this issue in httpcore.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org