Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More work on pecl-memcache #75

Closed
wants to merge 96 commits into from
Closed

More work on pecl-memcache #75

wants to merge 96 commits into from

Conversation

Zaffy
Copy link
Contributor

@Zaffy Zaffy commented Oct 8, 2020

Mikael Johansson and others added 30 commits May 22, 2007 20:12
Made consistent hashing implementation failover compatible with branch
Fixed incompatibility with standard hash strategy in previous versions
… (PECL bug #12555)

Prepare for release 2.2.2
rlerdorf and others added 23 commits March 1, 2012 00:04
Need be reviewed by the author later
applying patch for php bug 73539
I think that these might have uninitialized bytes
when a data type larger than zend_bool is used for the ini setting,
if the module globals are set from malloc?
(Not 100% sure if the entire structure isn't set to 0 before being used)

Related to #56
Use zend_bool for ini bool settings
This will allow us to have one unified branch that will compile
under different versions of php.
- added / updated arginfos
- fix functions returning NULL instead of advertised return type,
  For example, when memcached returned error on "delete", function
  returned null instead of false
- added tests for both php8 and 7
ZEND_ARG_TYPE_INFO(0, timeout, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, retry_interval, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, status, _IS_BOOL, 0)
ZEND_ARG_INFO(0, failure_callbac)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"failure_callbac" - typo?

@thesource93 thesource93 changed the base branch from master to php8 October 8, 2020 11:58
@thesource93 thesource93 self-assigned this Oct 8, 2020
@Zaffy Zaffy changed the base branch from php8 to NON_BLOCKING_IO_php8 October 8, 2020 12:47
@Zaffy Zaffy closed this Oct 8, 2020
@Zaffy Zaffy deleted the master branch October 8, 2020 12:51
@Zaffy
Copy link
Contributor Author

Zaffy commented Oct 8, 2020

Closing in favor of #76, the unifying of branches be better done elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.