Comments (2)
in particular these need to set the appropriate close state (i.e. state=CLOSED, failedbyme, isReply, etc) or else AB will automatically send additional close frames.
from autobahn-python.
sendCloseFrame can be used to send payload = 1 (by only providing reasonRaw without code), can send invalid close codes, can send invalid utf8 in reason and reasons+code length > 125.
in other words, sendCloseFrame does not error checking on its arguments, but sets all internal state like normal.
sendClose does argument error checking and reason string to utf8 conversion.
hopefully this is sane and sufficient. i close the issue. should it not be sufficient, we can reopen ..
from autobahn-python.
Related Issues (20)
- Twisted + websockets + TLS (wss) gives "invalid certificate" in Safari (and only there)
- wss:// URIs are not recognized HOT 2
- Successful connection doesn't reset the exponential backoff state HOT 2
- Update asyncio examples HOT 1
- Rapid Cancelling Of Tasks Can Cause InvalidStateError
- Release 22.11.1 HOT 1
- Start a Client without blocking HOT 4
- Undefined behavior for using WAMP features not agreed during feature negotiation HOT 9
- Adjust CI to deploy wheels to PyPI HOT 4
- RTD build for latest broken HOT 1
- 'Distribution' object has no attribute 'convert_2to3_doctests' HOT 1
- component._stopping attribute never cleared HOT 6
- Save the chat results to the database
- Bad error handling in the autobahn_autoreconnect file
- connection lost while called for Twisted, bug-like issue HOT 8
- For version greater than `19.3.3`, autobahn is not able to run in background thread
- Autobahn and pyInstaller not compatible anymore HOT 9
- Crossbar won't start when Installed with Pip HOT 3
- "RuntimeError: Event loop is closed" when running tests with pytest-asyncio 0.23.5.post1 HOT 11
- Use secrets.choice and 600,000 iterations for WAMP-CRA keygen helper HOT 8
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 autobahn-python.