[
https://issues.apache.org/jira/browse/HTTPCORE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571324#comment-17571324
]
Sanoj Punchihewa edited comment on HTTPCORE-720 at 7/26/22 10:06 AM:
---------------------------------------------------------------------
[~olegk], No I don't observe the issue for entity enclosing requests. But it's
not forbidden by the spec [1] to have a body in a GET request. Therefore they
may be cases of someone trying to send GET requests with a body. Either way,
since this causes a CPU spinning condition it seems we need to fix this.
[1]-[https://stackoverflow.com/questions/978061/http-get-with-request-body]
was (Author: JIRAUSER291022):
[~olegk], No I don't observe the issue for entity enclosing requests. But it's
not forbidden by the spec [1] to have a body in a GET request. Therefore they
may be cases of someone trying to send GET requests with a body. Either way,
since this causes a CPU spinning condition it's better if we can handle it.
[1]-[https://stackoverflow.com/questions/978061/http-get-with-request-body]
> High CPU usage noticed for Slow writing clients
> -----------------------------------------------
>
> Key: HTTPCORE-720
> URL: https://issues.apache.org/jira/browse/HTTPCORE-720
> Project: HttpComponents HttpCore
> Issue Type: Bug
> Components: HttpCore NIO
> Affects Versions: 4.4.15, 4.4.16
> Reporter: Sanoj Punchihewa
> Priority: Major
> Attachments: HttpNIOTestServer.jar, HttpNIOTestServer.zip, testclient
> 2.zip, testclient.jar
>
>
> In httpCore NIO v4.4.15, we can observe a CPU spinning condition when a slow
> writing client sends a HTTPS GET request with a large payload. I have
> attached a sample HTTP server and a client to reproduce this issue.
> I tried this scenario with the fix [1] as well. Still, this issue was there
> in java 1.8.0_312.
> Could you please look into this?
> [1]-https://issues.apache.org/jira/browse/HTTPCORE-716
> Thanks,
> Sanoj
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]