Эх сурвалжийг харах

Fix deadlock condition in documents download

Noel Dieschburg 10 жил өмнө
parent
commit
333319ba12

+ 1 - 0
main/inc/lib/document.lib.php

@@ -304,6 +304,7 @@ class DocumentManager
      */
     public static function file_send_for_download($full_file_name, $forced = false, $name = '')
     {
+        session_write_close(); //we do not need write access to session anymore
         if (!is_file($full_file_name)) {
             return false;
         }