Comments (2)
We could read "normal close code" as "close as normally done by the close message", in which case it's not a inconsistency but just a bit unclear text.
from saltyrtc-meta.
I agree that this is quite confusing. But it's especially confusing because we can fully control the close codes in the 'close'
message but cannot fully control them when closing the WebSocket connection because the Web API of WebSockets does not allow to use any 1xxx code other than 1000.
What the protocol should say is that either 1000 or 1001 is fine to use in any of the above scenarios.
Where I'm not sure if it means you should set no close code (which is possible) or if it means you can set any arbitrary close code.
Arbitrary is what is meant here although 1000/1001 make the most sense in almost all scenarios.
from saltyrtc-meta.
Related Issues (20)
- Specify recommended exchange message HOT 4
- Post-Release-List HOT 7
- Handover Data Race HOT 1
- End of Candidates HOT 16
- Handover Disable Request HOT 3
- Inconsistency regarding handling of inactive responders HOT 3
- Candidates message example needs update
- Maximum message size can be dropped
- Maximum message size is u64 and may be 0 HOT 1
- ufrag renamed to usernameFragment HOT 1
- onIceCandidatesRemoved HOT 5
- Explain Identity HOT 2
- Accepting message sources other than 0x00 HOT 2
- Msgpack type for binary data HOT 2
- Non-binary websocket messages HOT 1
- Remove send-error message HOT 4
- What is close code 3003 "Handover of the Signalling Channel" being used for? HOT 2
- SaltyRTC and Verifpal HOT 2
- Questions about the protocol HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saltyrtc-meta.