Skip to content

Commit

Permalink
Fixed original data not available in socket parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Mar 18, 2024
1 parent 034eb83 commit 87f5e12
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ public class SystemTextJsonByteMessageAccessor : SystemTextJsonMessageAccessor,
/// <inheritdoc />
public bool Read(ReadOnlyMemory<byte> data)
{
_bytes = data;

try
{
_document = JsonDocument.Parse(data);
Expand Down

0 comments on commit 87f5e12

Please sign in to comment.