smb: map EHOSTUNREACH to ERR_CANNOT_CONNECT

Authored by sitter on Feb 14 2020, 4:02 PM.

Description

smb: map EHOSTUNREACH to ERR_CANNOT_CONNECT

Summary:
same as the ftp does. in fact, also steal the error message qtcpsocket
produces. effectively this makes smb://unavailableipaddress spit out
exactly the same error as ftp://unavailableipaddress

host unreachable being so vague, the pretty string continues to be vague
as well unfortunately.

BUG: 417166
FIXED-IN: 20.08.0

Test Plan: error upon accessing the unassigned address 192.168.1.99 is same between smb and ftp

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kde-frameworks-devel, kfm-devel

Tags: Dolphin, Frameworks

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

Details

Committed
sitterFeb 14 2020, 4:02 PM
Reviewer
ngraham
Differential Revision
D27378: smb: map EHOSTUNREACH to ERR_CANNOT_CONNECT
Parents
R320:233f30dc039b: smb: fix horrendous indentation in auth.cpp
Branches
Unknown
Tags
Unknown