Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
aa1b54f3
Verified
Commit
aa1b54f3
authored
Oct 04, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix encoding of websocket messages of exactly 125 bytes (reported in
#347
)
parent
f9f21a17
Pipeline
#30788
passed with stage
in 5 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Libraries/iTasks/Internal/WebService.icl
Libraries/iTasks/Internal/WebService.icl
+1
-1
No files found.
Libraries/iTasks/Internal/WebService.icl
View file @
aa1b54f3
...
...
@@ -116,7 +116,7 @@ wsockPongMsg payload = wsockControlFrame WS_OP_PONG payload
wsockMsgFrame
::
!
Int
!
Bool
!
String
->
String
wsockMsgFrame
opcode
final
payload
|
num_bytes
<
125
=
frame
num_bytes
""
payload
|
num_bytes
<
=
125
=
frame
num_bytes
""
payload
|
num_bytes
<
65536
=
frame
126
{
toChar
(
num_bytes
>>
(
8
*
i
))
\\
i
<-
[
1
,
0
]}
payload
|
otherwise
=
IF_INT_64_OR_32
(
frame
127
{
toChar
(
num_bytes
>>
(
8
*
i
))
\\
i
<-
[
7
,
6
,
5
,
4
,
3
,
2
,
1
,
0
]}
payload
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment