|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58645 No timeout when PDO_4D can't reach the 4D SQL Server
Submitted: 2009-04-23 08:38 UTC Modified: 2009-04-29 06:28 UTC
From: php at 4d dot fr Assigned: splanquart (profile)
Status: Closed Package: PDO_4D (PECL)
PHP Version: 5.2.6 OS: Mac OS X Server 10.5.6
Private report: No CVE-ID: None
 [2009-04-23 08:38 UTC] php at 4d dot fr
This problem block all PHP script response if trying to connect a 4D SQL Server which is stopped or called from a wrong address, even in a try catch block.

Reproduce code:
$dbh = new PDO('4D:host=', 'test', 'test');

Expected result:
it should be stop after timedout and provide an error with an SQLSTATE like :

08S01 	Communication link failure

Actual result:
infinite wait


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-29 06:27 UTC]
Timeout support is provided since version PDO_4D-0.2.0.

Please, try this newer version.
 [2009-04-29 06:28 UTC] dams at nexen dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 23:01:27 2024 UTC