Use http.Server with timeouts
ProprietaryReplace http.ListenAndServe(addr, handler) with an explicit http.Server with read/write timeouts.
org. openrewrite. golang. codequality. UseHttpServerWithTimeoutmod run . --recipe= org. openrewrite. golang. codequality. UseHttpServerWithTimeoutInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.