Bug 7967 - Client doesn't report socket errors on Windows
Summary: Client doesn't report socket errors on Windows
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-08 09:31 CEST by Pierre Ossman
Modified: 2022-07-12 12:39 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-07-08 09:31:47 CEST
So the network code we have in tlclient unfortunately fails to account for the fact that Windows doesn't store network errors in errno. And you cannot use strerror() to get description for the errors either.

There is very little network code in tlclient, so this isn't a major issue. But if it goes wrong, then it would be helpful with the correct error code/message in the logs.

Note You need to log in before you can comment on or make changes to this bug.