anuragagarwal561994 commented on issue #153: Fixes HTTPCORE-609 by cancelling 
the key assigned to completed request
URL: 
https://github.com/apache/httpcomponents-core/pull/153#issuecomment-545400258
 
 
   @garydgregory I don't think it should create any issues, this is because 
key.cancel even on multiple calls doesn't produce an error. Check 
https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SelectionKey.html#cancel()
   
   The idea is that for a cancelled request if any key is assigned by any 
workflow it should be cancelled as well for maintaining consistent state.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to