Delphi-Cross-Socket icon indicating copy to clipboard operation
Delphi-Cross-Socket copied to clipboard

乱码 Invalid value of RSV while no Extension Negotiated

Open okdelphi opened this issue 3 years ago • 0 comments

这些日子把 websocket加入到实际应用中,客户端是.net的websocket,中间有交互发送,根据一个类型判断,刚开始还好,数据都是json数据,可是运行一段时间后,出现乱码情况,主要是,后来我用sgc的websocket客户端连接 websocket服务端,运行一段时间后,也会出现乱码情况,主要表现为服务端向客户端wssend方法,客户端的日志如下: [13:11:57.074][19156][DEBUG]:recv:{"resultCode":"201","token":"","gatherTime":"2022-06-11T13:12:07.736","uID":"CEF8237DE580448CAE8282A01E4A98F9","reason":"Success","errorCode":0} [13:11:57.896][19156][DEBUG]:recv:�~ {"resultCode":"201","token":"","gatherTime":"2022-06-11T13:12:08.361","uID":"cb2c845cd6474bf0a2f0d4370e5ca919","reason":"Success","errorCode [13:11:57.906][19156][DEBUG]:#disconnected (0) [13:11:57.912][19156][DEBUG]:#exception: Invalid value of RSV while no Extension Negotiated 附件为.net 客户端接收到乱码的截图 微信图片_20220611182810

okdelphi avatar Jun 11 '22 10:06 okdelphi