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

   **[Ignat 
Alexeyenko](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ignatalexeyenko)**
 opened 
**[HTTPCORE-341](https://issues.apache.org/jira/browse/HTTPCORE-341?redirect=false)**
 and commented
   
   Currently the AbstractNIOConnPool is capable to handle timeouts for 
en-queued requests (requests added in leasingRequests connection).
   What AbstractNIOConnPool - deal with slow connections, that already are open 
and being executed. Slow connections are connections that are not completed 
withing some request processing timeout.
   
   Example. Consider a specific case, when a remote server holds a connection 
open, but transmits information slowly (e.g. 8 bytes in each 100ms). In 
application under the high load it means that we would stuck with no free 
connections to process new requests for a long period of time.
   
   In such cases, as a developer I want to specify time in which we would close 
current open connection, even if it is already processing the data.
   
   
   ---
   
   **Affects:** 4.2.2, 4.3
   
   **Attachments:**
   - 
[HTTPCORE-341_-_closing_pending_connection_before_new_lease.patch](https://issues.apache.org/jira/secure/attachment/12585575/HTTPCORE-341_-_closing_pending_connection_before_new_lease.patch)
 (_846 bytes_)
   - 
[JRADEV-21355-httpcore-nio-process-slow-requests_patch.patch](https://issues.apache.org/jira/secure/attachment/12584950/JRADEV-21355-httpcore-nio-process-slow-requests_patch.patch)
 (_1.57 kB_)
   
   **Issue Links:**
   - [HTTPCORE-340](https://issues.apache.org/jira/browse/HTTPCORE-340) 
AbstractNIOConnPool to support lease timeout
    (_**"incorporates"**_)
   


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