Skip to content
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

No default timeouts #2

Open
pawelkowalak opened this issue Jan 17, 2017 · 1 comment
Open

No default timeouts #2

pawelkowalak opened this issue Jan 17, 2017 · 1 comment

Comments

@pawelkowalak
Copy link

Not sure if the purpose is for local development only, but before exposing this service to public networks you should define some default timeouts (and not using default http.ListenAndServe()). https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/

@geosoft1
Copy link
Owner

i will consider your suggestion.thanks.

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

No branches or pull requests

2 participants