Comments (6)
Are you using Write
or Writer
? Write
should write in a single frame whereas Writer unfortunately does write in two frames.
If you are using Write
it's possible I forgot to add the code necessary to make it use a single frame with compression enabled.
from websocket.
Also are you using the latest version or are you on 1.8.7 still?
from websocket.
Thanks for the response.
I have tested on 1.8.10 and it is the same behavior if compression is enabled (CompressionMode: websocket.CompressionNoContextTakeover
).
The code uses Write
(this method:
Line 44 in e3a2d32
I can make a minimal example to reproduce if it's helpful.
from websocket.
No need I see it, the problem is here:
Line 110 in e3a2d32
I need to extend this code to allow for single frame compression.
from websocket.
I would suggest disabling compression till I get to this. Hopefully within the next 2 months.
from websocket.
I would suggest disabling compression till I get to this. Hopefully within the next 2 months.
Thank you, will do.
from websocket.
Related Issues (20)
- docs: Rationalize wsjson buffer pooling and explain tradeoffs HOT 8
- discussion: strange API for the common use case HOT 2
- wspb: Unexpected removal of publicly used module broke everything! HOT 3
- wasm not working for unknown reason HOT 6
- Configurable buffer sizes HOT 1
- Best practice for Wasm NetConn HOT 3
- Please return non-generic errors from dial HOT 1
- Document how to have read timeout be larger than idle timeout HOT 3
- all goroutines are dead asleep - deadlock! wasm docs HOT 8
- Deadlocks due to CloseRead HOT 6
- Can't activate CORS for examples /chat/ HOT 2
- Reader() can only read one message, but Read() can read all messages HOT 5
- Error: panic: unaligned 64-bit atomic operation on arm32-bit while establishing websocket connection HOT 2
- Invalid readme example HOT 3
- Goroutine spike when closing connections in v1.8.10 (regression) HOT 3
- Data race on `Conn.closeErr` HOT 3
- websocket.Conn.CloseNow() panics in WaitGroup.Wait HOT 2
- failed to get reader: use of closed network connection HOT 3
- Inline part of the full examples HOT 7
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 websocket.