php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76497 MYSQLI_OPT_READ_TIMEOUT undocumented
Submitted: 2018-06-18 22:59 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: php at darkain dot com Assigned:
Status: Open Package: Documentation problem
PHP Version: 7.2.6 OS: N/A
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-06-18 22:59 UTC] php at darkain dot com
Description:
------------
http://php.net/manual/en/mysqli.options.php

MYSQLI_OPT_READ_TIMEOUT is entirely undocumented.

This option is also the solution to PHP Bug #67913 in which a successful TCP connection is made (so CONNECT TIMEOUT doens't apply), but the MySQL server hangs forever without transmitting any data afterwards.

https://bugs.php.net/bug.php?id=67913#comment_filter


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-23 10:09 UTC] darek334 at gazeta dot pl
If You resolve this as being visible here in manual:
http://php.net/manual/pl/mysqli.options.php
, then confirm here pls.

MYSQLI_OPT_READ_TIMEOUT stack with MYSQLI_OPT_CONNECT_TIMEOUT
 [2018-08-23 16:04 UTC] php at darkain dot com
MYSQLI_OPT_READ_TIMEOUT and MYSQLI_OPT_CONNECT_TIMEOUT are not the same thing, and work at different times. There should be more documentation regardless of all of the options, rather than just a simple one-liner explaining each.
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Oct 16 20:01:27 2018 UTC