mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-02 03:17:37 +03:00
Fix socks5 UDP handshake
This commit is contained in:
parent
442cceb9fa
commit
33beacc053
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ func HandleConnectionEx(
|
|||
return err
|
||||
}
|
||||
handler.NewPacketConnectionEx(ctx, NewLazyAssociatePacketConn(bufio.NewServerPacketConn(udpConn), conn), source, M.Socksaddr{}, onClose)
|
||||
return nil
|
||||
default:
|
||||
err = socks5.WriteResponse(conn, socks5.Response{
|
||||
ReplyCode: socks5.ReplyCodeUnsupported,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue