sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.

Home Page:https://sanic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create wss with C , find some more info in the end

hzfei opened this issue · comments

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
企业微信截图_1690168853900

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

Please provide a description of the issue in English, and a test case code snippet if possible.

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

Sounds like maybe your client is not properly closing frames. Tough to say without knowing more how to reproduce this.