This commit is contained in:
Quentin McGaw
2026-05-27 00:53:42 +00:00
parent ff6e45fae0
commit 0a4ac7cc0e
6 changed files with 928 additions and 51 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),