forked from Mxmilu666/frp
server: validate control pool counts (#5459)
This commit is contained in:
+2
-2
@@ -1,3 +1,3 @@
|
||||
## Features
|
||||
## Fixes
|
||||
|
||||
* Ordinary UDP proxy payloads now use a dedicated binary codec when frpc and frps successfully negotiate the capability under wire protocol v2, reducing frame size and encoding/decoding overhead. Wire protocol v1 and SUDP remain unchanged; wire protocol v2 falls back to JSON `UDPPacket` when the peer does not support or did not negotiate the capability.
|
||||
* 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