anuragagarwal561994 opened a new pull request #157: Adds state in 
SessionRequestImpl to avoid race condition in changing multiple variables
URL: https://github.com/apache/httpcomponents-core/pull/157
 
 
   Currently there are 2 states being maintained in SessionRequestImpl, 
terminated / completed.
   Both of them are used differently, but one can be updated before the second 
is updated and read by the other's value. This may lead to race conditions 
which are prone to error.
   
   One such example is issue 
https://issues.apache.org/jira/browse/HTTPASYNC-152.

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