Github user ok2c commented on the pull request:

    https://github.com/apache/httpcore/pull/21#issuecomment-184227762
  
    Dmitry,
    Curiously enough I had to fix a very similar race condition not that long 
ago. See 4c5947e4913c983b905d9d79db123a5b900a8b9a.
    
    Would you be OK with a slightly different fix, which is essentially the 
same as yours but synchronizes critical section on the connection context?   
    
https://github.com/ok2c/httpcore/commit/38a2f7872b55019fbfad9a6989f1ea7a5cdd8801


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to