Skip to content

Conversation

@kevints
Copy link
Contributor

@kevints kevints commented Nov 2, 2018

Motivation:

nghttp2 changed the error code it returns when the server sends a GOAWAY.
It's now .cancelled instead of .refusedStream.

Modifications:

Don't require a specific error code in the tests, just require that an
error matching the expected stream ID occurred.

Result:

Tests will pass on nghttp2-1.34.0.

@swift-nio-bot
Copy link

Can one of the admins verify this patch?

@kevints kevints force-pushed the nghttp2-1.34-support branch from a965052 to 21a42af Compare November 2, 2018 15:43
Motivation:

nghttp2 changed the error code it returns when the server sends a GOAWAY.
It's now `.cancelled` instead of `.refusedStream`.

Modifications:

Don't require a specific error code in the tests, just require that an
error matching the expected stream ID occurred.

Result:

Tests will pass on nghttp2-1.34.0.
@kevints kevints force-pushed the nghttp2-1.34-support branch from 21a42af to 8e273f8 Compare November 2, 2018 15:49
@Lukasa
Copy link
Contributor

Lukasa commented Nov 2, 2018

@swift-nio-bot test this please

@Lukasa
Copy link
Contributor

Lukasa commented Nov 2, 2018

Thanks @kevints!

@Lukasa Lukasa merged commit d24bb5d into apple:master Nov 2, 2018
@kevints kevints deleted the nghttp2-1.34-support branch November 2, 2018 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants