Skip to content

Commit 9815dbc

Browse files
committed
Add comment for the test
1 parent 71b7ee7 commit 9815dbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/end2end_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -3918,6 +3918,10 @@ func testClientInvalidStreamID(t *testing.T, e env) {
39183918
})
39193919
}
39203920

3921+
// Client must always send a streamID in odd numbers according to
3922+
// https://httpwg.org/specs/rfc7540.html#StreamIdentifiers. This test
3923+
// makes sure that the transport throws an error when the client streamID is
3924+
// even.
39213925
func (s) TestClientInvalidStreamID(t *testing.T) {
39223926
for _, e := range listTestEnv() {
39233927
if e.httpHandler {

0 commit comments

Comments
 (0)