diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-13 11:32:23 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-02-20 11:57:56 +0000 |
commit | dc936eaab18e709faa5154a21a269d0fe54521af (patch) | |
tree | f9e710fba2d6cae83c8cec13a644fbe9a519f632 /examples/websockets/echoserver | |
parent | 8ebed733e872ded507256addf932e19e1b6ed2b6 (diff) | |
download | qtwebsockets-dc936eaab18e709faa5154a21a269d0fe54521af.tar.gz |
Example: echoserver should not close when it got a new connection
Otherwise it's just a onetime server.
Change-Id: Ida516614e72cac1635062a04a6f1f9e1c56753da
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'examples/websockets/echoserver')
-rw-r--r-- | examples/websockets/echoserver/echoserver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/websockets/echoserver/echoserver.cpp b/examples/websockets/echoserver/echoserver.cpp index a3109fa..196b00b 100644 --- a/examples/websockets/echoserver/echoserver.cpp +++ b/examples/websockets/echoserver/echoserver.cpp @@ -83,7 +83,6 @@ void EchoServer::processTextMessage(QString message) if (pClient) { pClient->sendTextMessage(message); } - m_pWebSocketServer->close(); } //! [processTextMessage] |