Do not close the session ourselves when 304
Only WebGUI.pm and WebGUI::Middleware::Session should ever close the session during a normal request cycle. This is because of the possibility of streaming content.
This commit is contained in:
parent
472f5ffbaf
commit
7a58fcffcd
1 changed files with 0 additions and 1 deletions
|
|
@ -72,7 +72,6 @@ sub dispatch {
|
|||
&& !$session->http->ifModifiedSince($asset->getContentLastModified, $session->setting->get('maxCacheTimeout'))) {
|
||||
$session->http->setStatus("304","Content Not Modified");
|
||||
$session->http->sendHeader;
|
||||
$session->close;
|
||||
return "chunked";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue