Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tls] Fix read/write ignoring error code and requesting more read/write calls #1018

Conversation

AndreasReich
Copy link

@AndreasReich AndreasReich commented Aug 22, 2018

A customer ran into an issue where the TLS connection would randomly hang. I identified this as the culprit: In the unlikely event of a connection loss we would not report this back to mono but instead require more read/write calls. (fogbugz case 1073275)

I'm fairly confident this PR fixes the issue, however it is really hard to get a repro on this bug and I failed so far in writing a minimal regression test.

Backport to 2018.2 will be required

@AndreasReich AndreasReich self-assigned this Aug 22, 2018
@AndreasReich AndreasReich requested review from bitter and joncham August 22, 2018 15:28
@AndreasReich AndreasReich merged commit 8ecb87c into unity-master Aug 23, 2018
AndreasReich added a commit that referenced this pull request Aug 23, 2018
…-hang-on-connection-close-during-readwrite

[tls] Fix read/write ignoring error code and requesting more read/write calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants