Skip to content
Snippets Groups Projects
Commit 3715107d authored by Angie Byron's avatar Angie Byron
Browse files

#318102 by Damien Tournoud and Dave Reid: hook_exit() not invoked for some cached requests.

parent 4f17920c
No related branches found
No related tags found
No related merge requests found
...@@ -650,7 +650,7 @@ function drupal_page_cache_header($cache) { ...@@ -650,7 +650,7 @@ function drupal_page_cache_header($cache) {
header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified'); header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
// All 304 responses must send an etag if the 200 response for the same object contained an etag // All 304 responses must send an etag if the 200 response for the same object contained an etag
header("Etag: $etag"); header("Etag: $etag");
exit(); return;
} }
// Send appropriate response: // Send appropriate response:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment