Files
nexus/sreweekly/markdown/125/01-don-t-use-go-s-default-http-client-in-production.md
2026-09-12 17:23:01 +08:00

14 lines
455 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Don’t use Go’s default HTTP client (in production)
- **期号**: SRE Weekly Issue #125(2018-06-10)
- **作者**: Nathan Smith
- **链接**: https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779
## 简介
Go’s HTTP client defaults to no timeout. Making HTTP requests with no timeout is rarely a good idea and has been at the heart of many incidents I’ve been involved in.
## 正文
> ⚠️ 抓取失败:HTTP 403