Posted in

Go标准库暗礁地图:http.Server.ReadTimeout已废弃但未报警、time.Ticker.Stop内存泄漏、sync.Pool Put/Get非对称风险

第一章:Go标准库的隐性风险与设 … Go标准库暗礁地图:http.Server.ReadTimeout已废弃但未报警、time.Ticker.Stop内存泄漏、sync.Pool Put/Get非对称风险Read more

Posted in

Go请求超时设置的3重陷阱:DialTimeout ≠ ReadTimeout ≠ Context Deadline——真正决定服务可用性的那个参数是…?

第一章:Go请求超时设置的3重陷 … Go请求超时设置的3重陷阱:DialTimeout ≠ ReadTimeout ≠ Context Deadline——真正决定服务可用性的那个参数是…?Read more

Posted in

Golang HTTP Server超时配置失效?net/http.Server.ReadTimeout与context.WithTimeout双重覆盖原理揭秘

第一章:HTTP Server超 … Golang HTTP Server超时配置失效?net/http.Server.ReadTimeout与context.WithTimeout双重覆盖原理揭秘Read more