WebSocket
WebSocket在进行握手的时候,服务器端最后的握手包是以\r\n结束的,不能发'\0'。
浏览器就会出现错误:A server must not mask any frames that it sends to the client.
服务器端会报这个错误:unexpected continuation
https://bbs.csdn.net/topics/391050811
WebSocket
WebSocket在进行握手的时候,服务器端最后的握手包是以\r\n结束的,不能发'\0'。
浏览器就会出现错误:A server must not mask any frames that it sends to the client.
服务器端会报这个错误:unexpected continuation
https://bbs.csdn.net/topics/391050811
转载于:https://my.oschina.net/u/3477605/blog/1789960