- Jan 04, 2019
-
-
Lorn Potter authored
Fixes: QTBUG-72664 Change-Id: I8bd90f8676835d8f7bec135ad3e6c6b3e9cd9d9a Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
- Oct 01, 2018
-
-
Lorn Potter authored
This also has the benefit that binary data is no longer accessed via a global. Change-Id: I2db744696fe88ca03f55897016d9d38e302f820b Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
- Aug 14, 2018
-
-
Jesus Fernandez authored
Some private classes had a q_ptr pointer shadowing the QObjectPrivate::q_ptr pointer. Q_Q casts the QObjectPrivate::q_ptr pointer to match the public class so there is no need to store a different pointer. Change-Id: I8f5c4323b1dcf45a9796c0dd9f522bdbc63add18 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io>
-
- Aug 10, 2018
-
-
Jesus Fernandez authored
Change-Id: I120dcb26eb451930d02e452cc47262eda44cc77c Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io>
-
- Sep 26, 2017
-
-
Kevin Funk authored
Change-Id: I0988a4119b5bd790d286c16b5647d97d4d95aef0 Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- Apr 27, 2017
-
-
Thiago Macieira authored
That's the correct place and works with C++11 attributes. Change-Id: I7814054a102a407d876ffffd14b6a2fed3744b03 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
- Sep 07, 2016
-
-
Marc Mutz authored
Change-Id: I200f72423f13b54c636e995b120a70968b0e0758 Reviewed-by:
Milian Wolff <milian.wolff@kdab.com> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- Mar 10, 2016
-
-
Andy Shaw authored
This ensures that the peer certificate chain is kept in sync so that it can be queried when an encrypted connection has been made. Change-Id: I5df18bb71ac4bec3a8a939482df5a5ffe5c20cb5 Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
- Jan 20, 2016
-
-
Antti Kokko authored
From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: I8c17da1f7e2f0a620e3627fa7f8087f185545c8a Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com>
-
- Sep 04, 2015
-
-
Peter Kümmel authored
After moving the websocket into another thread current code doesn't work because then the QTcpSocket/QSslSocket objects reside in a different thread, for instance: "QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread" QObject::moveToThread(QThread*) also moves QObjects's children, therefore their internal socket objects need to be children of QWebSocket. QWebSocket has ownership of the internal socket, and the smart pointer is not needed any more. Change of cleanup code to prevent crashes with clang/msvc builds: QWebSocketPrivate is a scoped member of QObject (not QWebSocket) and is destroyed after QObject destructor body was executed, and so m_pSocket&co had already been destroyed (being children) when the destructor of QWebSocketPrivate is called via the scoped pointer. Analogous to 64927e04 Change-Id: I1ade6cda3fa793c30332cc5e103025e2dda3c78c Reviewed-by:
Luca Niccoli <lultimouomo@gmail.com> Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
-
- May 26, 2015
-
-
Luca Niccoli authored
Task-number: QTBUG-40842 Change-Id: I02787a0e55701966e564a312d51297f4160bd89a Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
- Apr 08, 2015
-
-
Luca Niccoli authored
Request headers are not yet handled, only the QNetworkRequest::url() is taken into consideration. [ChangeLog][QWebSocket] Added open(const QNetworkRequest &) and request() Task-number: QTBUG-40842 Change-Id: Ia2e10f22c79b0a085afb9a2eb8437b7a73d4a045 Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
Kimmo Karvinen authored
Lifetime of incoming QTcpSocket/QSslSocket are managed by the QTcpServer/QSslServer and thus the QWebSocketPrivate should clear the pointer to the socket when the socket is destroyed. Added auto test for the crash. Task-number: QTBUG-45331 Change-Id: I6e30e7cdcca22aa810ccc1a1d4d7d77c7cb2c349 Reviewed-by:
Steven Ceuppens <steven.ceuppens@icloud.com> Reviewed-by:
Liang Qi <liang.qi@theqtcompany.com>
-
- Feb 16, 2015
-
-
Jani Heikkinen authored
Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I8467410bfad44e8d3fe6bd5724c61bb0c07c91f9 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by:
Sergio Ahumada <sahumada@texla.cl>
-
- Nov 19, 2014
-
-
Allan Sandfeld Jensen authored
The websocket handshake could not handle being split over multiple TCP packets since it was entirely handled in on function. This patch splits it into a socket state making it possible to process over multiple incoming packaets. Change-Id: I3c45892ee6f1bb67062d561e9fbd2d7296f1208e Task-number: QTBUG-40878 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- Aug 24, 2014
-
-
Antti Kokko authored
- Added LICENSE.LGPLv3, LICENSE.GPLv2 & LICENSE.LGPLv21 Change-Id: I0586e35a7aa99be1b5b3bda580b05897f451acbf Reviewed-by:
Jani Heikkinen <jani.heikkinen@digia.com>
-
- Mar 17, 2014
-
-
Maurice Kalinowski authored
Change-Id: Ib302db81e0667d0c89c1da8611639db0811ff9f3 Reviewed-by:
Andrew Knight <andrew.knight@digia.com> Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Feb 15, 2014
-
-
Kurt Pattyn authored
Change-Id: I9773492d3673d8aabdb4dd178be6af12eca7ba74 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
Kurt Pattyn authored
Created a QMaskGenerator abstract base class to serve as a basis for user specific mask generators. Added the possibility to override the default mask generation in QWebSocket. Change-Id: Iaa02b44193f854d103b5f352617789175fe61f89 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Feb 05, 2014
-
-
Kurt Pattyn authored
Change-Id: I3f69a2b0ca81e1e003200bb8e0a337b9532e64a0 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Feb 04, 2014
-
-
Kurt Pattyn authored
Change-Id: Ie4e01a82082c45918b55e8588c7322dd359ba8c1 Reviewed-by:
Milian Wolff <milian.wolff@kdab.com> Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Feb 01, 2014
-
-
Kurt Pattyn authored
When calling setReadBufferSize() and setPauseMode(), the internal socket is not yet created. So we cache these values and apply them when the internal socket is created. Change-Id: I4299232342438c7a6c52fa8ea4a95461b3f85ebf Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
Kurt Pattyn authored
Removed the setSocketOption() and socketOption(0 methods as they are not really relevant for web sockets. Also, internally for the underlying real socket the LowDelayOption and KeepAliveOption are already set. If ever needed, these methods can be added later. Change-Id: Ibfa279990c5277970eaa2dbc2dd3a7d0cce7154e Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@digia.com>
-
- Jan 20, 2014
-
-
Kurt Pattyn authored
Renamed the write methods to sendTextMessage and sendBinaryMessage respectively. This makes the code more readable. Change-Id: Ie49abf07a37f54c84bd01c5c788d2e42b28bcfdd Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
Kurt Pattyn authored
Change-Id: Ida5c46e3e42685f5e78f2aee657d12af62286810 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Jan 17, 2014
-
-
Frederik Gladhorn authored
In case of processPing we need to make a copy that potentially detaches when masking is requested, but pings are < 125 bytes. Before this code would copy the byte array in the same way much earlier. Change-Id: If0592bb4b508eeb11fdbf05c4bb98b9679ed0549 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
Frederik Gladhorn authored
Change-Id: Ice4826e7670cffa791250a95387ac1121ddc4089 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Jan 12, 2014
-
-
Kurt Pattyn authored
Change-Id: I9da963570b174b9a5a33e65cf144402677b4bab5 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Jan 11, 2014
-
-
Kurt Pattyn authored
The QWebSocketServer::waitForNewConnection() was just calling QTcpServer::waitForNewConnection(), which was not correct because a connection is only complete when the handshake succeeds. Waiting for the handshake to complete would need a separate thread for the handshake handling code, which would complicate the code a lot. It was decided to leave out all waitXXX() methods from the module, as it is easier to add this functionality later, then to remove it. Change-Id: I778bae45b67f81e151ad2362f772c75e9f537ff0 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Dec 23, 2013
-
-
Kurt Pattyn authored
Change-Id: Icd293f832e2d7a6272d4953c1994065d16222375 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Dec 10, 2013
-
-
Kurt Pattyn authored
- Correct placement of curly braces - Remove commented-out code - Remove superfluous qDebug statements - Add missing QT_BEGIN_NAMESPACE declarations - Add move semantics - Add cleanup handling to QWebSocketServerPrivate - Add error handling to handshake response, QWebSocketServerPrivate, QWebSocketServer, dataprocessor Change-Id: I0690dc2c444fd6fc0db974d1459bf41bd8c31d40 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Nov 18, 2013
-
-
Kurt Pattyn authored
Change-Id: I1c7059a8e581ce5179c00f187b03f59fbed63ba6 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Nov 17, 2013
-
-
Kurt Pattyn authored
Change-Id: I4eeab1521054e4f4921d25c6a990eeb7486443cb Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Nov 04, 2013
-
-
Kurt Pattyn authored
Change-Id: Ibff22b277b89379dc31b0b7a8a02547e12bff58e Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Nov 01, 2013
-
-
Kurt Pattyn authored
Change-Id: I789cd780697aedbca7a90a5991df00b2c7e9ec98 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
Kurt Pattyn authored
Change-Id: I81248b9af104c0b3d37c9cfcef250a102f4b1d32 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Oct 31, 2013
-
-
Kurt Pattyn authored
Change-Id: I1f96d5e4e327eae211fd6b458168e1f7607e2dcf Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Oct 11, 2013
-
-
Steven Ceuppens authored
Change-Id: I4a71909134032d10b398ede74c431964bce7d675 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
- Sep 29, 2013
-
-
Steven Ceuppens authored
Change-Id: I4bbf6bd60abd93bd18947b8d2a9d42784aaea10b Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-
Steven Ceuppens authored
Change-Id: I7b934942c77b1da566acf77dc46521975c3ecba4 Reviewed-by:
Kurt Pattyn <pattyn.kurt@gmail.com>
-