Display HTTP error code instead of "Invalid data from tracker"

Authored by trufanov on Nov 10 2019, 4:15 PM.

Description

Display HTTP error code instead of "Invalid data from tracker"

In case http tracker gets HTTP Error (like 403 Forbidden if someone
forgot to pay for domain or 503 Server error) KTorrent displays
"Invalid data from tracker" error string. This is misleading and
not helping to detect real roots of the problem. Now id displays
a HTTP error code instead of this. For ex, "Error: HTTP 403"

Differential Revision: https://phabricator.kde.org/D25235

Details

Committed
trufanovNov 10 2019, 4:15 PM
Differential Revision
D25235: Display HTTP error codes instead of "Invalid data from tracker" in tracker status
Parents
R472:ae2d878aaa96: Merge branch '2.1'
Branches
Unknown
Tags
Unknown