Skip to content

fix: user defined close message#28

Merged
ianpartridge merged 3 commits intomasterfrom
CloseCodeBug
Mar 13, 2018
Merged

fix: user defined close message#28
ianpartridge merged 3 commits intomasterfrom
CloseCodeBug

Conversation

@Andrew-Lees11
Copy link
Copy Markdown
Contributor

Fixed a bug caused when i user sent a large code reason code.

This was caused by the server using Int16 instead of UInt16.

A test for user defined large input has been added and now passed.

Copy link
Copy Markdown
Contributor

@ianpartridge ianpartridge left a comment

Choose a reason for hiding this comment

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

LGTM. As discussed, this is an API breaking change, but seems unavoidable.

I think we should keep chipping away at the test failures, with the goal of releasing 2.0.0 alongside Swift 4.1 with 100% pass rate.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #28 into master will increase coverage by 0.62%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   90.64%   91.26%   +0.62%     
==========================================
  Files           9        9              
  Lines         481      481              
==========================================
+ Hits          436      439       +3     
+ Misses         45       42       -3
Flag Coverage Δ
#KituraWebSocket 91.26% <100%> (+0.62%) ⬆️
Impacted Files Coverage Δ
...ces/KituraWebSocket/WebSocketCloseReasonCode.swift 37.93% <100%> (+10.34%) ⬆️
Sources/KituraWebSocket/WebSocketConnection.swift 91.62% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7633575...6df1bbb. Read the comment docs.

@ianpartridge ianpartridge merged commit 1751c6e into master Mar 13, 2018
@ianpartridge ianpartridge deleted the CloseCodeBug branch March 13, 2018 11:59
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