Dela via


NamedPipeTransportOptions.MaxReadBufferSize Property

Definition

Gets or sets the maximum unconsumed incoming bytes the transport will buffer.

A value of null or 0 disables backpressure entirely allowing unlimited buffering. Unlimited server buffering is a security risk given untrusted clients.

public long? MaxReadBufferSize { get; set; }
member this.MaxReadBufferSize : Nullable<int64> with get, set
Public Property MaxReadBufferSize As Nullable(Of Long)

Property Value

Remarks

Defaults to 1 MiB.

Applies to