mirror of
https://github.com/fatedier/frp.git
synced 2026-08-02 19:12:54 +08:00
feat: use binary codec for SUDP packets (#5461)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## Features
|
||||
|
||||
* UDP packet payloads for ordinary UDP proxies and SUDP now use a dedicated binary codec when frpc and frps successfully negotiate the capability under wire protocol v2, using a more compact wire representation. Wire protocol v1 remains JSON; wire protocol v2 falls back to JSON `UDPPacket` when the peer does not support or did not negotiate the capability.
|
||||
|
||||
## Fixes
|
||||
|
||||
* Fixed a server panic and remote denial of service caused by a client sending a negative `pool_count`. Negative values are now rejected before work-connection pool resources are allocated.
|
||||
|
||||
Reference in New Issue
Block a user