Skip to content

Resolve G114 use of net/http serve function that has no support for setting timeouts #807

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
austinvazquez opened this issue Mar 14, 2025 · 1 comment
Labels
good first issue Good for newcomers

Comments

@austinvazquez
Copy link
Contributor

Resolve the following errors:

Error: internal/network_test_utils.go:135:10: G114: Use of net/http serve function that has no support for setting timeouts (gosec)
		return http.ListenAndServe(l.ipAddr+":80", nil)
@austinvazquez austinvazquez added the good first issue Good for newcomers label Mar 14, 2025
@austinvazquez
Copy link
Contributor Author

Success criteria is this line can be removed from .golangci.yml

    - G114 # Use of net/http serve function without timeouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant