Skip to content

Conversation

jprjr
Copy link

@jprjr jprjr commented Mar 25, 2022

Hi there - this is for issue #179 - it just adds a test case for what (I think) the expected behavior is - if a connection has received a GOAWAY frame before a stream is opened, then opening a stream should result in an error.

Happy to change if the expectation is elsewhere (that writing headers should be an error, or receiving should be an error)

Comment on lines +279 to +280
local stream = c:new_stream()
assert.falsy(stream)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should assert the particular error you get

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.

2 participants