internal: transport_test init expected byte slice to be not all zero (#2643)
This commit is contained in:
@ -64,6 +64,13 @@ var (
|
||||
expectedInvalidHeaderField = "invalid/content-type"
|
||||
)
|
||||
|
||||
func init() {
|
||||
expectedRequestLarge[0] = 'g'
|
||||
expectedRequestLarge[len(expectedRequestLarge)-1] = 'r'
|
||||
expectedResponseLarge[0] = 'p'
|
||||
expectedResponseLarge[len(expectedResponseLarge)-1] = 'c'
|
||||
}
|
||||
|
||||
type testStreamHandler struct {
|
||||
t *http2Server
|
||||
notify chan struct{}
|
||||
|
Reference in New Issue
Block a user