[Tickets #2781] Enhancements for memcache session driver

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Oct 15 19:24:14 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2781
-----------------------------------------------------------------------
 Ticket             | 2781
 Updated By         | kevin_myer at iu13.org
 Summary            | Enhancements for memcache session driver
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
+New Attachment     | memcached.php.patch
-----------------------------------------------------------------------


kevin_myer at iu13.org (2005-10-15 19:24) wrote:

Here is a cleaned up patch, which I think complies with coding standards (at
least better than the first one).  Minor code adjustments to the first patch
- removed extra persistent check in the close function and took the
connect/pconnect logic outside the loop for the _connect function.

This seems to work on OpenBSD 3.7, with Apache/1.3.29 (Unix) PHP/5.0.4,
although something is causing Apache to segfault.

Because of the way RHEL 4 handles malloc/free calls that fail, this code
doesn't work on RHEL 4, as glibc throws an exception.

So can someone spot what I'm doing wrong?  Or am I running into a bug in the
PECL memcache extension?






More information about the bugs mailing list