Changeset 276

Show
Ignore:
Timestamp:
10/11/06 13:25:18 (2 years ago)
Author:
bart
Message:

* Fix a bug in the ttl of the cache. see ticket #182

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/branches/0.9.5/ChangeLog

    r275 r276  
     12006-10-10  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Fix a bug in the ttl of the cache. see ticket #182 
     4 
    152006-09-19  Hans Rakers <hans at parse dot nl> 
    26 
    3        * Get session config variables from local values instead of global 
    4          values. This enables altering of session-related settings like 
    5          gc_maxlifetime, entropy_file and entropy_length through ini_set(). 
    6          This fixes ticket #166 
     7        * Get session config variables from local values instead of global 
     8          values. This enables altering of session-related settings like 
     9          gc_maxlifetime, entropy_file and entropy_length through ini_set(). 
     10          This fixes ticket #166 
    711 
    8122006-09-15  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/branches/0.9.5/cache.c

    r237 r276  
    634634                if (p->ttl) { 
    635635                    if (p->ttl < t) { 
    636                         add_assoc_long(list, "ttl", (p->ttl -t)); // ttl 
     636                        add_assoc_long(list, "ttl", p->ttl); // ttl 
    637637                    } else { 
    638638                        add_assoc_long(list, "ttl", -1); // expired 
  • eaccelerator/trunk/ChangeLog

    r275 r276  
     12006-10-10  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Fix a bug in the ttl of the cache. see ticket #182 
     4 
     5 
    162006-09-19  Hans Rakers <hans at parse dot nl> 
    27 
    3        * Get session config variables from local values instead of global 
    4          values. This enables altering of session-related settings like 
    5          gc_maxlifetime, entropy_file and entropy_length through ini_set(). 
    6          This fixes ticket #166 
     8        * Get session config variables from local values instead of global 
     9          values. This enables altering of session-related settings like 
     10          gc_maxlifetime, entropy_file and entropy_length through ini_set(). 
     11          This fixes ticket #166 
    712 
    8132006-09-18  Hans Rakers <hans at parse dot nl> 
    914 
    10        * Fixed unbalanced ifdef in eaccelerator.h introduced in rev [269]. 
    11          This fixes ticket #177 
     15        * Fixed unbalanced ifdef in eaccelerator.h introduced in rev [269]. 
     16          This fixes ticket #177 
    1217 
    13182006-09-15  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/trunk/cache.c

    r265 r276  
    631631                if (p->ttl) { 
    632632                    if (p->ttl < t) { 
    633                         add_assoc_long(list, "ttl", (p->ttl -t)); // ttl 
     633                        add_assoc_long(list, "ttl", p->ttl); // ttl 
    634634                    } else { 
    635635                        add_assoc_long(list, "ttl", -1); // expired