Skip to content

Commit

Permalink
Merge pull request #1039 from andersjonsson/missing-memorystream-seek…
Browse files Browse the repository at this point in the history
…-in-processhttpoperation

reset memorystream to beginning
  • Loading branch information
andersjonsson authored Mar 12, 2024
2 parents d5eea5d + e610774 commit 4604c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SoapCore/SoapEndpointMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ bool TryGetRequestValue(string key, out StringValues value)

bodyWriter.WriteBodyContents(dictionaryWriter);
dictionaryWriter.Flush();
ms.Seek(0, SeekOrigin.Begin);
await ms.CopyToAsync(context.Response.Body);
}

Expand Down

0 comments on commit 4604c5b

Please sign in to comment.