Skip to main content

What it flags

A direct net/http Get, Post or PostForm call in a function with a standard HTTP request parameter does not inherit cancellation from that inbound request. The report is advisory because the caller or transport can impose its own time limits. Review the timeout and cancellation policy before changing it. This rule runs only with loadwise rel polyglot <paths...> --include-contextual.