Changeset 6262


Ignore:
Timestamp:
05/22/12 10:23:30 (12 years ago)
Author:
viani
Message:

Ticket #2573 - Resolvido problema de lentidão ao fazer download de arquivos no workflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/class.ResourcesRedirector.inc.php

    r3167 r6262  
    144144                        /* arquivo não está em cache ou o cache já expirou */ 
    145145                        header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime($filename)).' GMT', true, 200); 
    146                         header('Content-Length: ' . filesize($filename)); 
     146                        //Todo: the next line causes delay when downloading files in certains apache configurations 
     147                        //header('Content-Length: ' . filesize($filename)); 
    147148                        header('Content-Type: ' . $mimeType); 
    148149                        header('Content-Disposition: filename="' . basename($filename) . '"'); 
Note: See TracChangeset for help on using the changeset viewer.