Changeset 1106
- Timestamp:
- 2012-08-01T18:54:51+02:00 (10 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
NEWS (modified) (1 diff)
-
xcache-zh-gb2312.ini (modified) (1 diff)
-
xcache.c (modified) (3 diffs)
-
xcache.ini (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r1091 r1106 9 9 * adds warning for misconfiguration @ startup 10 10 * auto disable caching on crash @ runtime 11 * cache can be enabled/disabled manually 11 12 12 13 2.0.1 2012-07-14 -
trunk/xcache-zh-gb2312.ini
r1026 r1106 49 49 50 50 51 ; ½öÓÃÓÚ *nix ϵͳ52 51 ; ÉèÖÃΪ¿Õ(½ûÓÃ) »òÕßÀàËÆ "/tmp/phpcore/" 53 52 ; ×¢Òâ¸ÃĿ¼Ӧ¸ÃÄܱ» php дÈëÎļþ (¸ú open_basedir ÎÞ¹Ø) 54 53 xcache.coredump_directory = "" 54 ; disable cache after crash 55 xcache.disable_on_crash = Off 55 56 56 57 ; ÆôÓÃʵÑéÐÔ¹¦ÄÜ (Èç¹ûÓÐ) -
trunk/xcache.c
r1067 r1106 417 417 { 418 418 HANDLE fileHandle; 419 LONG ret = EXCEPTION_CONTINUE_SEARCH; 419 420 420 421 SetUnhandledExceptionFilter(oldFilter); … … 436 437 if (ok) { 437 438 zend_error(E_ERROR, "Saved dump file to '%s'", crash_dumpPath); 438 ret urnEXCEPTION_EXECUTE_HANDLER;439 ret = EXCEPTION_EXECUTE_HANDLER; 439 440 } 440 441 else { … … 446 447 } 447 448 448 return EXCEPTION_CONTINUE_SEARCH; 449 if (xc_disable_on_crash) { 450 xc_disable_on_crash = 0; 451 xc_cacher_disable(); 452 } 453 454 return ret; 449 455 } 450 456 /* }}} */ -
trunk/xcache.ini
r1026 r1106 52 52 ; make sure it's writable by php (open_basedir is not checked) 53 53 xcache.coredump_directory = "" 54 ; disable cache after crash until restart. (non-Win32 only)54 ; disable cache after crash 55 55 xcache.disable_on_crash = Off 56 56
Note: See TracChangeset
for help on using the changeset viewer.

