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

Fix bug 57918 #5545

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Fix bug 57918 #5545

merged 1 commit into from
Sep 12, 2017

Conversation

kg
Copy link
Member

@kg kg commented Sep 12, 2017

Fix for issue where async Socket reads that need to perform multiple underlying read operations fail to return a correct total # of bytes read.

https://bugzilla.xamarin.com/show_bug.cgi?id=57918

I'm not sure there's a straightforward way to write a test for this, because loopback sockets don't behave the same way. The repro steps from the bug work consistently for me (on Windows you need to use the netcat implementation from nmap).

Async Socket reads that need to perform multiple underlying read operations fail to return a correct total # of bytes read
@dnfclas
Copy link

dnfclas commented Sep 12, 2017

@kg,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@kg kg merged commit 78e9f06 into mono:master Sep 12, 2017
@akoeplinger
Copy link
Member

should we backport this to 2017-08 ?

@marek-safar
Copy link
Member

Yes, makes a sense. @kg could you do that?

@kg
Copy link
Member Author

kg commented Sep 18, 2017

@marek-safar sure. Rebase onto the 2017-08 branch and create a PR? Or something else?

@marek-safar
Copy link
Member

Yes, create a PR targeting 2017-08 branch

@kg kg mentioned this pull request Sep 26, 2017
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