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

Support for close code 1012-1014 #651

Merged
merged 2 commits into from
Jan 18, 2018
Merged

Support for close code 1012-1014 #651

merged 2 commits into from
Jan 18, 2018

Conversation

marci4
Copy link
Collaborator

@marci4 marci4 commented Jan 18, 2018

Description

Added support for close codes 1012-1014
See https://www.iana.org/assignments/websocket/websocket.xml#close-code-number for reference
Removed autobahn test result check for test 7.9.6 since this testcase will now always fail!

Related Issue

Fixes #639

Motivation and Context

Additions to the specification

How Has This Been Tested?

Adjusted CloseFrame test
Adjusted Autobahn test result check

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Adjusted test
Added close codes
Fixes TooTallNate#639
7.9.6 checks against close code 1014.
Since 1014 is registred, it is now a valid close code.
@marci4 marci4 added this to To do in Development via automation Jan 18, 2018
@marci4 marci4 added this to the Release 1.3.8 milestone Jan 18, 2018
@marci4 marci4 merged commit c03890d into TooTallNate:master Jan 18, 2018
Development automation moved this from To do to Done Jan 18, 2018
@marci4 marci4 removed this from Done in Development Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support error codes 1012 (Service Restart), 1013 (Try Again Later) and 1014 (Bad Gateway)
1 participant