[CONC-612] Unable to connect to remote host on MacOS Created: 2022-09-02  Updated: 2022-09-02  Resolved: 2022-09-02

Status: Closed
Project: MariaDB Connector/C
Component/s: Internal
Affects Version/s: 3.1.18, 3.3.3
Fix Version/s: 3.1.19, 3.3.4

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

MacOSX



 Description   

Bug was reported on Stackoverflow: MariaDB connector in Python cannot connect to remote server

This bug happens only on MacOSX and was introduced by following commit:
{{commit dfe3563192e43a48bef3a861e72d9d122b9b346c
Author: Georg Richter <georg@mariadb.com>
Date: Sun Jul 24 17:36:49 2022 +0200

Fix for CONC-607 (Infinite loop in pvio_socket_internal_connect)

A retry interval is added in the loop to avoid exhausting
the CPU resource. Also the elapsed time in the loop will be
checked and break if it passed the timeout threshold.

Kudos to Hugo Wen who reported this issue and provided the fix!}}


Generated at Thu Feb 08 03:06:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.