Skip to content

Commit 33beacc

Browse files
committed
Fix socks5 UDP handshake
1 parent 442cceb commit 33beacc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

protocol/socks/handshake.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ func HandleConnectionEx(
219219
return err
220220
}
221221
handler.NewPacketConnectionEx(ctx, NewLazyAssociatePacketConn(bufio.NewServerPacketConn(udpConn), conn), source, M.Socksaddr{}, onClose)
222+
return nil
222223
default:
223224
err = socks5.WriteResponse(conn, socks5.Response{
224225
ReplyCode: socks5.ReplyCodeUnsupported,

0 commit comments

Comments
 (0)