create wss with C , find some more info in the end
hzfei opened this issue · comments
hz commented
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
create wss with C , find some more info in the end
Code snippet
No response
Expected Behavior
No response
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
23.3.0
Additional context
No response
L. Kärkkäinen commented
Please provide a description of the issue in English, and a test case code snippet if possible.
hz commented
sanic:
websocket send a json message
C language:
recv messga,got some more info
eg: send {"name":"sanic"} and recv :{"name":"sanic"}kkfsdfs}
now for sanic, send json + "\0" works
Adam Hopkins commented
Sounds like maybe your client is not properly closing frames. Tough to say without knowing more how to reproduce this.