Skip to content
Commit 9da623e1 authored by Oliver Freyermuth's avatar Oliver Freyermuth Committed by Albert Astals Cid
Browse files

KCupsConnection: Exit authentication loop after too many retries.

Summary:
This fixes endless loops for example in the situation
if the server uses IP whitelisting and denies our host
with 403 on each administrative request.
In that case, the passwort_attempt counter is never increased,
which up to now was the only exit condition.
The total_retries counter catches any case in which the
cups API will not call the password callback.

Details at: https://bugs.kde.org/show_bug.cgi?id=383305

Reviewers: dantti

Reviewed By: dantti

Subscribers: cfeck, kde-utils-devel

Differential Revision: https://phabricator.kde.org/D7325
parent afd46090
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment