[CONJS-254] ensuring option connectTimeout is respected Created: 2023-05-12  Updated: 2023-05-12  Resolved: 2023-05-12

Status: Closed
Project: MariaDB Connector/node.js
Component/s: other
Affects Version/s: None
Fix Version/s: 3.2.0

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

The option connectTimeout is not respected for all cases :

  • when using unix socket or name pipe, there is no timeout at all
  • timeout is removed when socket is successfully established, in place of returning connection object (so when authentication is complete + 'pre-queries' if needed ended)

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