Megosztás a következőn keresztül:


SocketTransportOptions.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:
 property Nullable<long> MaxReadBufferSize { Nullable<long> get(); void set(Nullable<long> value); };
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