QWebSocket sendTextMessage strange behaviour
Unsolved
General and Desktop
-
wrote on 11 May 2019, 19:41 last edited by ___..Alex..___ 5 Nov 2019, 19:42
Hi,
I decided to use the QWebSocket for Client/Server communication. When sending a QString through the socket it seems that the socket is not cleaned. The QString on server side is appended with new data. It is exactly the same behaviour like mentioned here https://bugreports.qt.io/browse/QTBUG-55506.
Is there a workaround? I cannot call clear somewhere (or at least I do not know how...)Regards
Alex -
Hi and welcome to devnet,
What version of Qt are you using ?
-
wrote on 25 May 2019, 07:55 last edited by
Hi,
sorry for the late reply.
I'm using 5.12.2 on an AMD Linux machine.Regards
Alex -
I don't see such a behavior here with 5.9 nor 5.12 - please provide a minimal example.