feat(socks5): UDP proxying (#3353)

This commit is contained in:
Quentin McGaw
2026-06-11 09:32:38 -04:00
committed by GitHub
parent acab89b91a
commit 6d84462f00
10 changed files with 1311 additions and 95 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
// See https://datatracker.ietf.org/doc/html/rfc1928#section-6
func (c *socksConn) encodeFailedResponse(writer io.Writer, socksVersion byte, reply replyCode) { //nolint:unparam
func (c *socksConn) encodeFailedResponse(writer io.Writer, socksVersion byte, reply replyCode) {
_, err := writer.Write([]byte{
socksVersion,
byte(reply),