Skip to content

Commit f429db6

Browse files
committed
fix typo
1 parent 47c7efd commit f429db6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StackExchange.Redis/PhysicalConnection.Read.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private void OnResponseFrame(RespPrefix prefix, ReadOnlySequence<byte> payload)
401401
else
402402
{
403403
var len = checked((int)payload.Length);
404-
var memoryPool = BridgeCouldBeNull?.Multiplexer.RawConfig.RequestBufferPool ?? MemoryPool<byte>.Shared;
404+
var memoryPool = BridgeCouldBeNull?.Multiplexer.RawConfig.ResponseBufferPool ?? MemoryPool<byte>.Shared;
405405
var memoryOwner = memoryPool.Rent(len);
406406
Span<byte> oversized = memoryOwner.Memory.Span.Slice(0, len);
407407

0 commit comments

Comments
 (0)