Skip to content

add app state check - #263

Merged
fantix merged 3 commits into
MagicStack:masterfrom
fantix:t246_app_state
Aug 24, 2019
Merged

fantix merged 3 commits into
MagicStack:masterfrom
fantix:t246_app_state

Conversation

@fantix

@fantix fantix commented Aug 14, 2019 •

Copy link
Copy Markdown
Member

app_state check is not added at data_received() and friends because I think it's too much penalty to raise errors and break connections, even though it should never happen. But please feel free to vote oppositely.

AIO State

  • write tests

@fantix fantix changed the title (WIP) add app state check add app state check Aug 22, 2019
@fantix
fantix requested a review from 1st1 August 23, 2019 17:53
Comment thread uvloop/sslproto.pxd Outdated
@1st1

1st1 commented Aug 23, 2019

Copy link
Copy Markdown
Member

Looks good, thank you!

@fantix
fantix merged commit 82104fb into MagicStack:master Aug 24, 2019
@fantix
fantix deleted the t246_app_state branch August 24, 2019 00:02
j-usti-n pushed a commit to j-usti-n/uvloop that referenced this pull request Aug 24, 2019
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.

SSLProtocol violates app Protocol state machine

2 participants