Edit report at http://bugs.php.net/bug.php?id=49511&edit=1

 ID:                 49511
 Updated by:         abedf...@php.net
 Reported by:        casper at procurios dot nl
 Summary:            mysqlnd timeout seems fixed at 60 secs
-Status:             To be documented
+Status:             Closed
 Type:               Bug
 Package:            MySQL related
 Operating System:   *
 PHP Version:        5.3, 6 (2009-09-09)
 Assigned To:        abedford
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-09-13 16:09:28] abedf...@php.net

Automatic comment from SVN on behalf of abedford
Revision: http://svn.php.net/viewvc/?view=revision&revision=303320
Log: Added note as per bug #49511

------------------------------------------------------------------------
[2010-09-13 14:02:42] abedf...@php.net

Automatic comment from SVN on behalf of abedford
Revision: http://svn.php.net/viewvc/?view=revision&revision=303319
Log: Added a note as per bug #49511.

------------------------------------------------------------------------
[2010-08-30 16:28:24] u...@php.net

Tony, can you take it? Thanks!

------------------------------------------------------------------------
[2009-09-16 15:09:48] u...@php.net

Regarding default_socket_timeout = -1 -> endless:



I don't think it is an overflow. I only glimpsed over the code and saw
that sometimes an extra check is made for -1 to convert it into NULL.
And NULL means endless, see
http://msdn.microsoft.com/en-us/library/ms740141%28VS.85%29.aspx or,
same on Linux, man select. 

------------------------------------------------------------------------
[2009-09-16 15:05:51] u...@php.net

It should be fixed now, please test a SVN snapshot.



We may want to stress out in the documentation that a) users cannot set
MYSQL_OPT_READ_TIMEOUT through an API call and, if we ever allow setting
it, there may be subtle differences between libmysql and streams how to
interpret the value of MYSQL_OPT_READ_TIMEOUT. 



Using mysqlnd means using PHP streams. PHP streams documentation needs
to be consulted on such details not dev.mysql.com documentation on the
MySQL Client Library AKA libmysql AKA C-API.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=49511


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=49511&edit=1

Reply via email to