You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2019/11/03 10:20:00 UTC
[GitHub] [httpcomponents-core] anuragagarwal561994 opened a new pull request
#157: Adds state in SessionRequestImpl to avoid race condition in changing
multiple variables
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org