jira-importer opened a new issue, #1259:
URL: https://github.com/apache/httpcomponents-core/issues/1259

   **[Sanoj 
Punchihewa](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER291022)**
 opened 
**[HTTPCORE-716](https://issues.apache.org/jira/browse/HTTPCORE-716?redirect=false)**
 and commented
   
   We are using 4.4.14 of HttpCore NIO. We are having an issue while sending an 
**HTTPS GET** request to the server with a large payload where the CPU usage 
seems to increase and stays on forever. We debugged and found out that after 
the HTTPS response is written back to the client, the server tries to close the 
connection. We found out that the condition [1] which gets executed in order to 
make the state closed becomes false forever and hence it keeps on trying to 
close. It was observed that inPlain.hasData() is always true.
   
   We have attached a sample POSTMAN request and a server in order to reproduce 
the issue.
   
   Appreciate your help on this issue.
   
   
[1]-https://github.com/apache/httpcomponents-core/blob/rel/v4.4.14/httpcore-nio/src/main/java/org/apache/http/nio/reactor/ssl/SSLIOSession.java#L388
   
   Thanks,
   
   Sanoj
   
   
   ---
   
   **Affects:** 4.4.14, 4.4.15
   
   **Attachments:**
   - 
[HTTPCORE.postman_collection.json](https://issues.apache.org/jira/secure/attachment/13045105/HTTPCORE.postman_collection.json)
 (_10.63 kB_)
   - 
[HttpNIOTestServer.jar](https://issues.apache.org/jira/secure/attachment/13045419/HttpNIOTestServer.jar)
 (_743.54 kB_)
   - 
[HttpNIOTestServer.zip](https://issues.apache.org/jira/secure/attachment/13045104/HttpNIOTestServer.zip)
 (_14.45 kB_)
   - 
[HttpNIOTestServer2.zip](https://issues.apache.org/jira/secure/attachment/13045421/HttpNIOTestServer2.zip)
 (_86.55 kB_)
   - 
[testclient.jar](https://issues.apache.org/jira/secure/attachment/13045420/testclient.jar)
 (_86.07 kB_)
   - [testclient 
2.zip](https://issues.apache.org/jira/secure/attachment/13045422/testclient+2.zip)
 (_98.26 kB_)
   
   **Issue Links:**
   - [HTTPCORE-687](https://issues.apache.org/jira/browse/HTTPCORE-687) High 
CPU usage noticed for requests with newline characters
    (_**"duplicates"**_)
   - [HTTPCORE-717](https://issues.apache.org/jira/browse/HTTPCORE-717) High 
CPU usage when client sends a request with invalid protocol
    (_**"is duplicated by"**_)
   


-- 
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