Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
titan.ProtocolModules.WebSocket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Eclipse Titan
titan.ProtocolModules.WebSocket
Commits
d5e4bae4
Commit
d5e4bae4
authored
7 years ago
by
Elemer Lelik
Browse files
Options
Downloads
Patches
Plain Diff
Length calculation corrected, R2B
parent
311cbeb9
No related branches found
Branches containing commit
Tags
R.2.B
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/WebSocket_CNL113782_PRI.doc
+0
-0
0 additions, 0 deletions
doc/WebSocket_CNL113782_PRI.doc
src/WebSocket_EncDec.cc
+2
-2
2 additions, 2 deletions
src/WebSocket_EncDec.cc
src/WebSocket_Types.ttcn
+1
-1
1 addition, 1 deletion
src/WebSocket_Types.ttcn
with
3 additions
and
3 deletions
doc/WebSocket_CNL113782_PRI.doc
+
0
−
0
View file @
d5e4bae4
No preview for this file type
This diff is collapsed.
Click to expand it.
src/WebSocket_EncDec.cc
+
2
−
2
View file @
d5e4bae4
...
...
@@ -11,7 +11,7 @@
//
// File: WebSocket_EncDec.cc
// Prodnr: CNL 113 782
// Rev: R2
A
// Rev: R2
B
#include
"WebSocket_Types.hh"
...
...
@@ -67,7 +67,7 @@ void f__WebSocket__Encode(const WebSocket__PDU& pl__pdu, OCTETSTRING& pl__data,
// encode size
if
(
payload_size
<
126
){
*
data_ptr
|=
(
payload_size
&
0x7
F
);
*
data_ptr
|=
(
payload_size
&
0x7
f
);
data_ptr
++
;
}
else
if
(
payload_size
<
65536
)
{
// 16 bit unsigned max
size_t
orig_p_size
=
payload_size
;
...
...
This diff is collapsed.
Click to expand it.
src/WebSocket_Types.ttcn
+
1
−
1
View file @
d5e4bae4
...
...
@@ -10,7 +10,7 @@
******************************************************************************/
//
// File: WebSocket_Types.ttcn
// Rev: R2
A
// Rev: R2
B
// Prodnr: CNL 113 782
// Reference: RFC 6455
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment