рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -11,8 +11,13 @@ const (
|
||||
Magic uint32 = 0x52415046 // RAPF
|
||||
Version uint8 = 1
|
||||
|
||||
HeaderSize = 32
|
||||
DefaultMaxPayload = 1024 * 1024
|
||||
HeaderSize = 32
|
||||
|
||||
// DefaultMaxPayload is a per-frame guardrail, not a throughput limit.
|
||||
// Fabric services must scale by many QUIC streams and many frames; keeping
|
||||
// this above common VPN/RDP/VNC burst batches avoids a hidden 1 MiB choke
|
||||
// while still bounding memory for a single decoded frame.
|
||||
DefaultMaxPayload = 8 * 1024 * 1024
|
||||
)
|
||||
|
||||
type FrameType uint8
|
||||
|
||||
Reference in New Issue
Block a user