chore: tuic use a udp pool too and auto close when outbound is garbage collected

This commit is contained in:
wwqgtxx
2022-11-25 22:42:07 +08:00
parent 6c204d2b77
commit 7f40645934
2 changed files with 66 additions and 34 deletions

View File

@ -39,6 +39,7 @@ type Client struct {
RequestTimeout int
MaxUdpRelayPacketSize int
Inference any
Key any
LastVisited time.Time
UDP bool