1
0
Fork 0
Commit Graph

74 Commits (master)

Author SHA1 Message Date
Xuefer 7a586c55ce cacher: fix #354 build error for debug mode (thanks to drakmor)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1581 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
8 years ago
Xuefer 925a2dff1e cacher: improve hashing by taking file_size into acccount (stat needed of course)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1580 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 15ad8700a8 support for reference value
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1572 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 07183575ef use vector for objects/object_handles
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1567 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 30d56bf2d7 code clean up for vector
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1566 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 51accff949 fix build for older PHP
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1561 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 6c397c70ec support for autoload in xcache_get
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1560 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer de6840d14b closes #342: object caching
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1558 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer f664f5a518 merge stack/vector to 1 impl, avoid possible memory leak using malloc
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1551 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 970fd0aa01 kill warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1538 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer d9514bcc6b closes #337: adds warning about Zend OPcache optimization level incompatiblity
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1533 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 708688b3d7 define XCACHE_DEBUG in phpized
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1532 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 499e70e785 disable trace
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1531 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 46d274fba2 adds class const support for {{{__FILE__ __DIR__}}}
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1530 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 21a895a4c6 fix typo in last commit: disable {{{__DIR__}}} recognization for <=PHP_5_2
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1522 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer be1ba47738 disable {{{__DIR__}}} recognization for <=PHP_5_2
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1521 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 30ab87d469 fixed random 24H counters clear. it's a race cached condition. thanks to the report from Per Hansson
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1482 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
9 years ago
Xuefer 7b4722df0f fixed #333: reduce memory usage for small or empty files
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1478 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 501bbf2e0f adds reflection info for APIs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1477 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer e317146c8b processor: abstract store target (storage)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1470 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer d19d64546d clean up shm handlers
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1468 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer d913f3e5fd relocate: fix handling hash table, TODO: fix dst/src stuff
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1460 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer ffe43cb799 relocate: update proto to like memcpy/store/restore, update test code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1455 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 11bb4f0d07 update func prototype for relocate
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1453 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer eaa50fbafc fix arg
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1451 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 45e2bfe79d updated relocate impl
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1448 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 6413478cd7 update relocate
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1446 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 41b20da882 relocate WIP
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1444 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 59fc9ffed0 typo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1433 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 1267e8bb4f fixes #323: refix locking impl for threaded env
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1366 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 6409eb5aef cacher: fixes #228, enable var caching for cli
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1341 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 02eb6beda4 add back PHP_4 code for disassembler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1321 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 31e5f026de ZEND_STRS ZEND_STRL is inconsist between PHP5.0- and PHP5.0+
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1313 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer ef420d39bd fix PHP 5.0 build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1297 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer c7492e6c3a remove php 4 support completely
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1281 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 96e1893175 un-experimental for __FILE__ __DIR__ handling after files moved/hardlinked
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1277 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 876859cc24 undo [1242]
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1244 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 34338ebd10 fix build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1243 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer bcebc33200 undefined xc_shm_t
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1242 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer d6a26094d9 fixes #296: Multiple instances of the same software causes PHP "cannot redeclare class" errors when xcache enabled
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1238 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 7fe46fb894 compatiblity with fcntl
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1234 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
10 years ago
Xuefer 57549f6cf7 kill warning "function with _alloca() inlined into a loop"
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1217 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer c67d47e7c8 finished improve stability on threaded env
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1204 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer 36ef103274 fix some 64bit warnings
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1201 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer beeb22d135 fix for ZTS
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1199 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer f6aa3a6474 fixs crash when cache is too small on start up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1194 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer 117d72449c fix typo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1190 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer 00883bf301 fix build, part of previous change
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1188 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer 278cdbcb50 fix magic number: use 0 1 with zend_bool only. use FAILURE for int return type to avoid confusing. fix usage of 0
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1187 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago
Xuefer e8600bb8e2 use correct header for getpid()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1186 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
11 years ago