Skip to content

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.

4 participants