php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
22 - 1 = ?
Subscribe to this entry?

 
 [2009-04-23 08:38 UTC] php at 4d dot fr
Description:
------------
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=127.0.0.2', '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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-29 06:27 UTC] dams@php.net
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
http://pecl.php.net/get/PDO_4D


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 10:01:28 2024 UTC