Skip to content

Conversation

@antonfirsov
Copy link
Contributor

@antonfirsov antonfirsov commented Feb 18, 2021

Fixes #47734.

I made a mistake in #47479 by expecting to get all the sent data in a single receive in the new SliceBuffers_Success test. Interestingly this is how it actually happens on a loopback device everywhere except MacOS, where the underlying separate sending of the pre and post buffers may result in separate subsequent receives sometimes.

The test now uses the same checksum logic as other SendFile tests.

/cc @geoffkizer

@ghost
Copy link

ghost commented Feb 18, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #47734.

I made a mistake in #47479 by expecting to get all the sent data in a single receive in the new SliceBuffers_Success test. Interestingly this is how it actually happens on a loopback device everywhere except MacOS, where the underlying separate sending of the pre and post buffers may result in separate subsequent receives.

The test now uses the same checksum logic as other SendFile tests.

/cc @geoffkizer

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Sockets

Milestone: -

@antonfirsov antonfirsov requested a review from a team February 18, 2021 14:14
@stephentoub stephentoub merged commit e53803d into dotnet:master Feb 19, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

slicebuffers_success variant tests failing sporadically

3 participants