You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http.NewRequest returns an outgoing client request, which that test passes to ServerHTTP (which takes incoming server requests). Those types of Requests have different semantics.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +692df21 Thu Oct 20 08:48:44 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
All tests pass as in Go 1.7.3
What did you see instead?
Panic happens when draining
response.Body
withioutil.ReadAll()
intobytes.Buffer
https://github.com/mholt/caddy/blob/master/caddyhttp/log/log_test.go#L79The text was updated successfully, but these errors were encountered: