Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add app state check #263

Merged
merged 3 commits into from
Aug 24, 2019
Merged

add app state check #263

merged 3 commits into from
Aug 24, 2019

Conversation

fantix
Copy link
Member

@fantix fantix commented Aug 14, 2019

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
uvloop/sslproto.pxd Outdated Show resolved Hide resolved
@1st1
Copy link
Member

1st1 commented Aug 23, 2019

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