[CONJ-1276] Connection#isValid(int timeout) does not obey the passed in timeout if the network is down. (original) (raw)

Details

Description

Connection#isValid(int timeout) does not obey the passed in timeout if the network is down. Instead of obeying the timeout value, the call will hang until the socket timeout is hit. I've created a small example that you can use to reproduce the problem:

https://github.com/aaron-congo/mariadb-isvalid-bug

Attachments

Activity

People

Votes:

0 Vote for this issue

Watchers:

2 Start watching this issue

Dates

Created:

2025-08-22 00:49

Updated:

2025-09-10 13:29

Resolved:

2025-09-09 14:08

Git Integration

Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.