Files
pecl-memcache/Vagrantfile
Alexandru Pătrănescu c615b13d2f Test and fix memcache session redundancy php8 (#87)
* Use zend_bool for ini bool settings

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

* add a redundancy test file

add a redundancy test file checking multiple memcached restarts
install pcntl in docker container so tests are running
add also a Vagrantfile for easier dev env setup

* fix the redundancy failover by having dataresult as null initially instead of empty string

Co-authored-by: Tyson Andre <tysonandre775@hotmail.com>
Co-authored-by: Tomas Srnka <tomassrnka@users.noreply.github.com>
2021-05-28 12:09:26 +02:00

18 lines
339 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'ubuntu/bionic64'
config.vm.provider :virtualbox do |vb|
vb.name = 'ext-memcache-dev'
vb.memory = 1024
vb.cpus = 2
end
config.vm.provision 'docker'
end