Changeset 16321

Show
Ignore:
Timestamp:
05/07/08 14:10:46 (5 months ago)
Author:
rambo
Message:

send http error header as well if cache fails

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midcom.core/midcom/services/cache/backend/memcached.php

    r16104 r16321  
    9393            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "memcache handler: Failed to connect to {$this->_host}:{$this->_port}."); 
    9494             */ 
     95            header('HTTP/1.0 500 Server Error'); 
    9596            header('Cache-Control: no-store, no-cache, must-revalidate'); 
    9697            header('Cache-Control: post-check=0, pre-check=0', false);