This repository has been archived on 2024-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Clash.Meta/constant
HamsterReserved 8679968ab0 Fix: multiple port string parsing overflow (#1868)
Ports in TCP and UDP should be parsed as an unsigned integer,
otherwise ports > 32767 get truncated to 32767. As this is
the case with Metadata.UDPAddr(), this fundamentally breaks
UDP connections where demand for high port numbers is high.

This commit fixes all known cases where ParseInt is used for ports,
and has been verified to fix Discord voice connections on port
50001~50004.

Fixes: d40e5e4fe6

Co-authored-by: Hamster Tian <haotia@gmail.com>
2022-01-02 01:09:29 +08:00
..
2021-08-01 00:35:37 +08:00
2021-10-04 19:20:11 +08:00
2019-03-23 19:24:26 +08:00