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

455 B
Raw Blame History

Don’t use Go’s default HTTP client (in production)

简介

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