mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
Ignore gosec warning in example
This commit is contained in:
@@ -27,7 +27,8 @@ func main() {
|
||||
},
|
||||
}
|
||||
|
||||
ln, err := net.Listen("tcp4", "0.0.0.0:443") // Let's Encrypt tls-alpn-01 only works on port 443.
|
||||
// Let's Encrypt tls-alpn-01 only works on port 443.
|
||||
ln, err := net.Listen("tcp4", "0.0.0.0:443") /* #nosec G102 */
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user