java - HTML5 websocket linux 上发布后,连接中断的问题
大家讲道理
大家讲道理 2017-04-17 13:28:47
0
3
316

JAVA写的,本地WINDOWS调试都正常,发布到linux服务器后,连接成功,但是发送消息提示已中断连接,

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
迷茫

Did the information you sent exceed the size? If you implemented the websocket server yourself, I remember it is less than 127B, 128-65535 and 65535 or above. The packet headers of the three are different. Is it only less than 127B? of?

大家讲道理

Have you solved this problem? I also encountered this problem. A simple websocket service implemented in Python can simply transmit images, and the client uses HTML5 to receive it. Debugging is normal under Windows, but under Linux, the connection is successful but the picture cannot be received

Peter_Zhu

No, I gave up WS for the time being and used the asynchronous refresh mode first

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!