qt5base-lts/examples/network/torrent
Mårten Nordheim 39daa368d4 Torrent example: Use QByteArray toPercentEncoding
The hand-rolled loop produced incorrect output and was subsequently
rejected by trackers.

The torrent example doesn't support modern features though, so it's
still a bit hit-or-miss whether a torrent will work. E.g. downloading an
Arch iso does not work since it relies on DHT, PeX and HTTP seeds.

Fixes: QTBUG-109798
Task-number: QTBUG-110622
Pick-to: 6.5
Change-Id: Ica40fb9205f09d135407a160a28a45d06a418176
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2023-01-30 20:10:25 +01:00
..
icons Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
addtorrentdialog.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentdialog.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
addtorrentform.ui Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
bencodeparser.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
bencodeparser.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
connectionmanager.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
connectionmanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
filemanager.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
filemanager.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
icons.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mainwindow.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
mainwindow.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
metainfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
peerwireclient.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
peerwireclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
ratecontroller.cpp examples: port network examples to new connection style 2022-12-21 21:52:17 +01:00
ratecontroller.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
torrent.pro Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
torrentclient.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
torrentclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
torrentserver.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
torrentserver.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
trackerclient.cpp Torrent example: Use QByteArray toPercentEncoding 2023-01-30 20:10:25 +01:00
trackerclient.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00