[PATCH]mysql_pconnect leaks file descriptors on reconnect
| From: | Laruence | Date: | Mon, 22 Aug 2011 08:40:07 +0000 |
| Subject: | [PATCH]mysql_pconnect leaks file descriptors on reconnect | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-54779@lists.php.net to get a copy of this message | ||
georg, andery, ulf:
hello, there is a bug in mysqlnd, the details about this bug can
be found at https://bugs.php.net/bug.php?id=55473
I found the reason is that mysqlnd_connect didn't free the stream
when doing reconnect.
I have submitted a patch for this, but I am not very sure the
patch is okey.
could you review this patch? thanks.
--
Laruence Xinchen Hui
http://www.laruence.com/