Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Conversation

@ncthbrt
Copy link

@ncthbrt ncthbrt commented Nov 26, 2018

As mentioned in Issue #3329, reads of the connection state weren't synchronized. This PR adds a ReentrantReadWriteLock to HubConnection.java

@dnfclas
Copy link

dnfclas commented Nov 26, 2018

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@mikaelm12 mikaelm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pr! Looks pretty good. Our branches are currently locked but I'll keep you updated on that

@mikaelm12
Copy link
Contributor

Hi @ncthbrt. Thanks again for the PR. I think we found the source of the issue. It isn't a lack of locking on reads but rather not checking the connection state on invokes. We have a new PR here dotnet/aspnetcore#4400. I'm going to go ahead and close this Pr but thanks again for your contribution! We were able to find this bug because of you 👍

@mikaelm12 mikaelm12 closed this Dec 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants