{"issue":{"created_at":"2011-11-29T10:21:15Z","state":"closed","updated_at":"2011-11-29T10:21:26Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":8,"body":"Wir sind gerade im IRC auf ein dubioses Problem gestoßen.\nPHP - speziell Version 5.2.6 - hält den Lock auf die Session solange aufrecht, bis der Download abgeschlossen ist. Das verhindert ein weiteres Surfen solange der Download läuft, da PHP die Session nicht erneut starten kann. http://www.held.org.il/blog/2008/02/php-session-locks/\n\nAlso Lösung haben wir in der [Controller.php](http://dev.contao.org/projects/typolight/repository/entry/tags/contao-2.9.3/system/libraries/Controller.php#L2133) ab Z.2133 folgendes eingefügt:\n\n```\n$this->Session->__destruct();\nsession_write_close();\n```\n\nDamit wird die die Session geschlossen und der Lock gelöscht, bevor der Steam beginnt.\n\nRelated issues: #2678, #3307\n\n--- _Originally created by Psi on January 16th, 2011, at 03:04am (ID 2804)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2382696,"number":2804,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/test/labels/Defect"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/frontend"}],"title":"Session-Locking bei Downloads","closed_at":"2011-11-29T10:21:26Z","html_url":"https://github.com/contao/test/issues/2804","url":"https://api.github.com/repos/contao/test/issues/2804","milestone":{"created_at":"2011-11-29T05:27:05Z","state":"closed","due_on":null,"closed_issues":66,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":32,"description":"Contao 2.10.0 (minor release)","title":"2.10.0","open_issues":0,"url":"https://api.github.com/repos/contao/test/milestones/32"}},"action":"closed"}