Commit Graph
3 Commits
Author SHA1 Message Date
pancho horrilloandCésar Gallego Rodríguez b362d04167 chore: prepare release v0.5.2
Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 17:26:44 +02:00
pancho horrilloandCésar Gallego Rodríguez 975aea88ae fix: prevent spurious stack trace with misbehaving clients
See https://github.com/golang/go/commit/9997545a8626bf1a73002f44a7b7538988da4e76
and the previous commit.

Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 15:57:25 +02:00
pancho horrilloandCésar Gallego Rodríguez 13adcc37b6 fix: panic sentinel value if http client misbehaves
When an http client does not consume the whole body, we panic'ed a
custom message instead of the required sentinel value.

For the details, check ¹ and look for ErrAbortHandler.

¹: https://pkg.go.dev/net/http

Co-authored-by: César Gallego Rodríguez <gallego.cesar@gmail.com>
2020-05-11 13:59:09 +02:00