tracker issue : CF-4199597

select a category, or use search below
(searches all categories and all time range)

WebSocket messages sent to client are cut off at semicolons

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Mosh Teitelbaum / Mosh Teitelbaum ()

Created: 08/31/2017

Components: Web Socket, WebSocket Proxy

Versions: 2016,2018

Failure Type: Data Corruption

Found In Build/Fixed In Build: 2016,0,04,302561 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 1

Problem Description:
Using the ColdFusion WebSocket proxy, and sending a message from the server to the client. 
 If the message includes a semicolon, the proxy receives the complete message from the server (as indicated in the wsproxy.log) but the message is truncated at the semicolon when sent from the proxy to the client.

Steps to Reproduce:
Setup the WebSocket proxy, establish a WebSocket connection between client and server, and send a message with a semicolon in it from the server to the client.

Actual Result:
From the wsproxy.log file:
2017-08-30 22:18:59.2418 CF WSProxy Log Received Message from server. Msg : 1365;3;12a04a6a-2d78-402c-b9b1-cabece2cb66d;{"publisherid":0,"data":"{\"status\":\"success\",\"data\":[{\"problemDescription\":\"lk;kl;lk\"}

2017-08-30 22:18:59.2418 CF WSProxy Log Sending Message to client. Msg :{"publisherid":0,"data":"{\"status\":\"success\",\"data\":[{\"problemDescription\":\"lk

Expected Result:
The message sent to the client from the proxy should be complete.

Any Workarounds: