mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-27 04:25:44 -05:00
optimize udp hub
This commit is contained in:
@@ -95,6 +95,7 @@ func (this *DokodemoDoor) ListenUDP() error {
|
||||
this.meta.Address, this.meta.Port, udp.ListenOption{
|
||||
Callback: this.handleUDPPackets,
|
||||
ReceiveOriginalDest: this.config.FollowRedirect,
|
||||
Concurrency: 2,
|
||||
})
|
||||
if err != nil {
|
||||
log.Error("Dokodemo failed to listen on ", this.meta.Address, ":", this.meta.Port, ": ", err)
|
||||
|
||||
Reference in New Issue
Block a user