mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
In Framer.ReadFrame's frame-too-large check, the code that checks for HTTP/1.1 looking frames accidentally wrapped the unrelated err from the previous readFrameHeader call instead of ErrFrameTooLarge. Fix that. Change-Id: I2237759eaad8c6e06e7195c50410abb5792e57ea Reviewed-on: https://go-review.googlesource.com/c/net/+/676218 Reviewed-by: Chressie Himpel <chressie@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>