Commit Graph

7 Commits

Author SHA1 Message Date
hahahrfool
d3ec3fddcd 修订示例、代码;为添加trojan 作准备 2022-04-08 10:42:01 +08:00
hahahrfool
88f32208c3 修订代码、注释;试图解决所有udp不会关闭退出的问题;UDP_timeout设为3分钟 2022-04-05 16:13:48 +08:00
hahahrfool
8f484ff05f 修订代码、注释 2022-04-05 14:42:02 +08:00
hahahrfool
d8ac89b863 修复udp的chan多次close的bug 2022-04-02 18:59:47 +08:00
hahahrfool
a8654e198e 试图修复udp close无效的问题,可能导致 too many opened sockets. 2022-04-02 09:24:15 +08:00
hahahrfool
778535290f 在udp中使用net/netip包;从此开始使用go1.18内容;修订代码 2022-03-23 12:47:09 +08:00
hahahrfool
548675e002 添加自定义网络层功能;添加udp网络层支持
配置中,listen和dial中,可添加 network = "udp" 字段,不添加则默认tcp
2022-03-21 21:19:31 +08:00