[
https://issues.apache.org/jira/browse/HTTPCORE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737896#comment-16737896
]
M0nika commented on HTTPCORE-566:
---------------------------------
Hi Oleg
Thank you for your quick response:
There is a similar issue reported in WSO2 API manager. Please find the below
link.
https://wso2.org/jira/browse/APIMANAGER-5607
They have applied the following fix which is provided at the below link
[pull
request|https://github.com/wso2/wso2-httpcore-nio/pull/18/commits/cc99bfd92a6c2013fb3d284f8c231be571994330]
The pull request was merged and issue got closed.
This is the same fix which is provided in Apache archive
mail\{https://www.mail-archive.com/[email protected]/msg17563.html}.
As this fix has not been implemented in [ChunkEncoder
file|https://github.com/apache/httpcomponents-core/blob/5000eb0bddc9a905e319ddf067bc836f7a108d5c/httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/ChunkEncoder.java#L85],
could you please guide us if this is the correct fix?
> 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/[email protected]/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/[email protected]/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: [email protected]
For additional commands, e-mail: [email protected]