Doc #76497 [Opn->Csd]: MYSQLI_OPT_READ_TIMEOUT undocumented

From: Date: Fri, 11 Dec 2020 22:06:52 +0000
Subject: Doc #76497 [Opn->Csd]: MYSQLI_OPT_READ_TIMEOUT undocumented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18247@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76497&edit=1

 ID:                 76497
 Updated by:         dharman@php.net
 Reported by:        php at darkain dot com
 Summary:            MYSQLI_OPT_READ_TIMEOUT undocumented
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            MySQLi related
 Operating System:   N/A
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        daverandom
 Block user comment: N
 Private report:     N

 New Comment:

Thanks for reporting this bug. This has recently been documented. The relevant commit can be found
here: https://github.com/php/doc-en/commit/2a4707655b2be952e9881ec623fe3a0de2dd8b7c


Previous Comments:
------------------------------------------------------------------------
[2018-08-23 16:04:13] 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.

------------------------------------------------------------------------
[2018-08-23 10:09:32] 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-06-18 22:59:50] 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



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



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


Thread (2 messages)

« previous php.doc.bugs (#18247) next »