| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Change-Id: Ibffb68ca8beb6007f68baf9d1cc39201ff762840
|
|/
|
|
|
|
|
|
|
| |
+ 2d10eaba1607f3efaaf3020e4b7c57a31060177e Bump version
+ 7554e8839ac230b08a0b670c31a4843ba1f17cb1 Doc: fix links to autobahn testsuite
+ 9d3eb184c72333a95ee8f9ee33bd51942271de64 Doc: fix missing closing comment
Change-Id: I2dabf44acdb95f9e71286091f9f14a4fb3b08d6e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
|
| |
Change-Id: I2e1f4893b1b4c1270630101c390b937611e5d5e2
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-69425
Change-Id: I28e03da927c7a9b1cbfb91a0aca32866c2e653ea
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
|
|
|
|
| |
Change-Id: Ibcb0063877543a2cb09ded212e0940fb45280c71
|
|\
| |
| |
| | |
Change-Id: I84594b23a2703886e96e73758c26f4cecc1370d0
|
|/
|
|
|
|
|
|
|
| |
+ 3aab83b37baf03daa2aa97a708831d1f7dce8de0 Remove extra deleteLater (already done in onSocketDisconnected)
+ 59ad9ecf70fef2032dea01330d276c1fac20b724 Add binary compatibility file for qtwebsockets 5.14 branch
+ 737a86f30a78add874b4bff310d4f84f49cc9b50 Bump version
Change-Id: I8d784ef67017de93eab7967dac304d14bf1fada3
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|
|
|
| |
Change-Id: I486dace1520c7fc06e6233da8d1e0a52c7869cdb
|
|
|
|
|
|
|
| |
BC file built against 5.14.0 added.
Change-Id: Ib72e1fd443bf88cec944ab451edcc43ca070a135
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: I671d93ccd766fed4fff797930804ab748cbb27a1
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
|\
| |
| |
| | |
Change-Id: I3445dc11f83f37a784867762691b372df47ff938
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ic759bffc47f236217fde5db2c33260577366efc1
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|/
|
|
|
|
|
|
|
|
|
| |
No longer add port to Host header in WebSocket handshake unless it was
explicitly specified in the URL.
This change fixes issues with some WebSocket servers rejecting the
connection if the Host header does not match the URL.
Fixes: QTBUG-77526
Change-Id: I9b028ce434416e61cae7b217d2eafe621d2660b4
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QWebSocketServer::nativeDescriptor() and its setter were documented
twice, with the duplicated versions under Qt6-specific version check
macro and marked \deprecated.
QDoc still parses those in Qt5 as it doesn't respect the version
guards - remove the offending comments for now.
Fixes: QTBUG-79816
Change-Id: Ie40190c9d32f91efd3428b7f884c9ad923a2bb0e
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ic8cd4116fcfa47f7457d8a630274d6745723c858
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
+ 465c6c3914455e8ed20f938e5d4a35e6decb446c Add changes file for Qt 5.12.5
+ 1deee2a4965fd7dc8a44c6d769519c4cbb11da4f Binary compatibility file against Qt5.13.0 for QtWebSockets
+ 24a9e0f961d84af037999771948d3d3d9c683a6c wasm: make sendBinaryMessage work in threaded mode
Change-Id: I8a1c4a4cf79b9096c7cc735b936ca64e225faaff
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| | |
Change-Id: I80b008b3cc1cf483656096bade145f05917defb5
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-78690
Change-Id: Ie1de2c3cf46edca2b1441ff94a9bb50cb507c057
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And rename the int-version of the getter to enable the scenario where
someone does not have chrono.
From the 5.14 API change review.
Amends 2e54dbe86eac61e87782a138dbcc158cb6b10cd9
Change-Id: Icf2f2a3aebc2216defd0a3a569544c4270ddf05a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|\ \ |
|
| |\ \
|/ / /
| | _
| | |
Change-Id: I4052a4c238a0c59b1a0fc01ad3fd6ee6b714595b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes two issues in sendBinaryMessage(), one
observed, and one theoretical:
1) WebSocket send() does not accept data views backed
by SharedArrayBuffer, which is the case for heap memory
views when threading is enabled.
2) We have no way of observing for how long send() will
retain the memory view passed to it. This means we
don’t know when the QByteArray can be safely freed.
Both can be solved by copying the payload data to a
separate ArrayBuffer, whose lifetime can be managed
by WebSocket.
Fixes: QTBUG-78078
Change-Id: I73209080db66f38b971f2c8a727b43402357b1a9
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
| |\ |
|
| | |\
| |/ /
| | |
| | | |
Change-Id: Ibaec93eb5919dd6cc1f34e98ad20c57b9998bc23
|
| | |\ |
|
| | | |\
| | |/ /
| | | |
| | | | |
Change-Id: Ie2f07797983e53d0a998e1b0f76a8efd951408f7
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | | |
+ dcf08a4c702f90cc092629078de48a0ad0d68562 Bump version
Change-Id: Ia81f727e8ee826590cd33fbb3ad2086e6e7ca2da
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
| |\ \ |
|
| | |\ \
| |/ / /
| | | |
| | | | |
Change-Id: Id47478b5f9ef4a342771d6e718fd5cd7272f5166
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
+ 69f3b6ed8b5036ff2dff9ea1ba232252c8f7d73a Bump version
+ 9db762ad97338567a614177564f68fee780fefce Add changes file for Qt 5.12.4
+ 34c8622dbaafaa67c15a221a6c90390419c28063 Doc: Complete parameter description several methods
+ 44750221a97f0ad5da51ca51e2f14b701197c306 Bump version
+ dcf08a4c702f90cc092629078de48a0ad0d68562 Bump version
+ 9fcd04fc3ca878de0db92f1175bc3cb4ff1e6420 Doc: Replace example file lists with links to code.qt.io
Change-Id: Ib6157dc6112e10ffea0e72b320a0402a250905d6
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
|
|\ \ \ \ |
|
| |\ \ \ \
|/ / / / /
| | _ / /
| | / / |
Change-Id: I9c23395dfda8bfaf308dacbf17c471b62803371c
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
BC file added.
Change-Id: Ibc33a9a55c8dc378938046cb3c45c1464864e348
Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From API review.
Amends 2e54dbe86eac61e87782a138dbcc158cb6b10cd9
Change-Id: Ie55a3ef076e042e4461397996e19bf7d397c3fb5
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Gerrit ate my change and somehow created an impossible state where a
patch was able to merge due to its fix but couldn't actually pass its
tests.
Amends 6e1fa958c289de639753a60a9384bd94db0e91a8
Task-number: QTBUG-77830
Change-Id: Iedc23616816bb2c1758969a1d76b9536b509c38a
Reviewed-by: Ryan Chu <ryan.chu@qt.io>
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the processing of QWebSocketFrame is not done and waiting for more
data, QWebSocketPrivate::processData should return the control and wait
for next readyRead signal.
Continue the change of b2fc794ffaf48c9d9c401b54cf39ea0220617a27
Change-Id: Idf5af0710267e59e63b8e234d6dab5843d821696
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
|\ \ \
| | | |
| | | |
| | | | |
Change-Id: I2eaffbe6e9519a78d0f8663c0870f24cb006d222
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There are missing tests of 'text frame with final bit not set'. After
dataProcessor.process, the spied signals should be compared and cleared
before processing next frame.
Change-Id: I5737da9d57e0043cfedb400f4e0934c5ce7c4250
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Asynchronously process socket frame in QWebSocketDataProcessor::process.
If the processing of QWebSocketFrame is not done and waiting for more
data, QWebSocketDataProcessor::process will return the control and wait
for next readyRead signal to continue processing the unfinished socket
frame. QWebSocketDataProcessor::process gets timeout after 5 seconds,
and then an errorEncountered signal will be emitted.
Fixes: QTBUG-74464
Change-Id: I03b7f874c1c266617e7eadf59c59ae43fa8540ce
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The static function QWebSocketFrame::readFrame used to return a parsed
QWebSocketFrame read from QIODevice. This change make QWebSocketFrame
reusable. It will base on its internal state and keep processing the
incoming data from QIODevice.
Change-Id: Ic6dea59529fa935cdb8034519e633ea67e869674
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The macro 'WAIT_FOR_MORE_DATA' is revised because the processing
state is kept by m_processingState. Remove the unused dataWaitSize and
returnState local variables from QWebSocketFrame::readFrame.
Change-Id: I8e270c5c7117b170159d4fb3b2bf1531a9cd5334
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To reduce the dependency of each state and remove local variables
(bytesRead, hasMask, and payloadLength) from QWebSocketFrame::readFrame,
this change breaks down the states of QWebSocketFrame::readFrame into
subroutines. In this change, it uses a readFramePayloadLength function
to handle PS_READ_PAYLOAD_LENGTH and PS_READ_BIG_PAYLOAD_LENGTH cases.
In addition, a missing error-handling is added in the read-header case
if the bytesAvailable is less than 2 bytes.
The variable hasMask is replaced by transiently using m_mask to
indicate whether to read a mask. After reading mask in readFrameMask,
the transient value will be over-written and used in readFramePayload.
To replace local variable payloadLength with QWebSocketFrame::m_length,
m_length is expanded to hold the payload length.
Change-Id: I1c2d197112cef5cea75215923fa28e6f2e6cbef8
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we can have multiple websocket frames in one TCP frame we need
to handle them all.
Partial revert of b14f5f59a3ae96949e6a33302385a751d6448182
Fixes: QTBUG-77830
Change-Id: If435f6e67f04e4817a3202eb8fe779243591bff3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The use of QTime for determining intervals is deprecated:
qwebsocket_p.cpp:1214:61: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
Change-Id: I26e1dabcba5ba54a4fead02b43c3fe7ace740be0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pass a template argument to std::less/greater.
Amends 54ffd0d0a3bf2c77d53e1cdfe04b362f59682cb4.
Fixes: QTBUG-77500
Change-Id: I0b78906090d8b0e3c910104975c08ff79ba9fc12
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\ \ \ |
|
| |\ \ \
|/ / / /
| | _ /
| | / |
Change-Id: Ifa55b6563a15a91d7906d9e84936c4484323f809
|
| |\ \ |
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
.qmake.conf
Change-Id: I3970191eef4be34b82487a6761999d79cccd0c20
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I9b5b43a7646d121ceacbd7006841f8bc4cb9f5ca
|