http2: merge multiple GOAWAY frames' contents into error message
The http2 spec permits multiple GOAWAY frames if the conditions change. Merge their error messages together, preferring the first non-empty debug data, and first non-ErrCodeNo error code. Updates golang/go#14627 Change-Id: I073b9234d71f128ed0713f09a24c728b56d7c1ae Reviewed-on: https://go-review.googlesource.com/24600 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Showing
Please
register
or
sign in
to comment