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

   **[Arunan 
Sugunakumar](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=arunans23)**
 opened 
**[HTTPCORE-740](https://issues.apache.org/jira/browse/HTTPCORE-740?redirect=false)**
 and commented
   
   We observed an issue where with a httpcore-nio server timeout scenario, the 
server sends a FINACK to the client and if the client sends a close_notify 
alert, the server is immediately sending a RESET and closing the connection. 
Ideally, the server should also send a close_notify and terminate the 
connection gracefully. This issue is observed with only the clients which send 
close_notify for a server FINACK. The below attached is a TCP capture during 
the timeout scenario (server port: 8253).  The server uses the latest 4.4.16 
httpcore-nio library.
   
   !Screenshot 2023-04-18 at 07.53.12.png|width=1466,height=150!
   
   Is there any way to avoid this scenario and send a close_notify from the 
server as well to terminate the connection gracefully? 
   
   PS: I am currently working on a simple reproducer to attach here, and I'll 
attach it as soon as possible. 
   
   
   ---
   
   **Affects:** 4.4.16
   
   **Attachments:**
   - 
[HttpNIOTestServer-740.zip](https://issues.apache.org/jira/secure/attachment/13057366/HttpNIOTestServer-740.zip)
 (_165.64 kB_)
   - [Screenshot 2023-04-18 at 
07.53.12.png](https://issues.apache.org/jira/secure/attachment/13057347/Screenshot+2023-04-18+at+07.53.12.png)
 (_170.06 kB_)
   - [Screenshot 2023-04-18 at 
13.43.02.png](https://issues.apache.org/jira/secure/attachment/13057365/Screenshot+2023-04-18+at+13.43.02.png)
 (_265.92 kB_)
   - [Screenshot 2023-04-18 at 
13.44.01.png](https://issues.apache.org/jira/secure/attachment/13057364/Screenshot+2023-04-18+at+13.44.01.png)
 (_343.85 kB_)
   - [Screenshot 2023-04-18 at 
13.45.10.png](https://issues.apache.org/jira/secure/attachment/13057363/Screenshot+2023-04-18+at+13.45.10.png)
 (_370.92 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]

Reply via email to