{"action":"created","issue":{"url":"https://api.github.com/repos/bcosca/fatfree/issues/1019","repository_url":"https://api.github.com/repos/bcosca/fatfree","labels_url":"https://api.github.com/repos/bcosca/fatfree/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/bcosca/fatfree/issues/1019/comments","events_url":"https://api.github.com/repos/bcosca/fatfree/issues/1019/events","html_url":"https://github.com/bcosca/fatfree/issues/1019","id":214751182,"number":1019,"title":"Route locked","user":{"login":"gmzu","id":3656980,"avatar_url":"https://avatars0.githubusercontent.com/u/3656980?v=3","gravatar_id":"","url":"https://api.github.com/users/gmzu","html_url":"https://github.com/gmzu","followers_url":"https://api.github.com/users/gmzu/followers","following_url":"https://api.github.com/users/gmzu/following{/other_user}","gists_url":"https://api.github.com/users/gmzu/gists{/gist_id}","starred_url":"https://api.github.com/users/gmzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmzu/subscriptions","organizations_url":"https://api.github.com/users/gmzu/orgs","repos_url":"https://api.github.com/users/gmzu/repos","events_url":"https://api.github.com/users/gmzu/events{/privacy}","received_events_url":"https://api.github.com/users/gmzu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-16T15:52:02Z","updated_at":"2017-03-16T16:23:07Z","closed_at":null,"body":"if I use the sleep(15) function in a function class called by the route, all other web routes remain locked until the first route terminates execution.\r\neg:\r\n\r\nconfig.ini\r\nGET /=CMS->home\r\nGET /login=User->show_login\r\n\r\n```\r\nClass User {\r\n    function show_login() {   \r\n        sleep(15);\r\n        ......\r\n  }\r\n}\r\n\r\nClass CMS {\r\n   function home() {\r\n     echo \"hello\";\r\n   }\r\n}\r\n\r\n```\r\nif I try to reach \"/login\" address, the home page route \"/\" opened in another panel of the same browser does not respond until the execution of sleep(15) ends. \r\nit's normal?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bcosca/fatfree/issues/comments/287111535","html_url":"https://github.com/bcosca/fatfree/issues/1019#issuecomment-287111535","issue_url":"https://api.github.com/repos/bcosca/fatfree/issues/1019","id":287111535,"user":{"login":"ikkez","id":1177647,"avatar_url":"https://avatars2.githubusercontent.com/u/1177647?v=3","gravatar_id":"","url":"https://api.github.com/users/ikkez","html_url":"https://github.com/ikkez","followers_url":"https://api.github.com/users/ikkez/followers","following_url":"https://api.github.com/users/ikkez/following{/other_user}","gists_url":"https://api.github.com/users/ikkez/gists{/gist_id}","starred_url":"https://api.github.com/users/ikkez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikkez/subscriptions","organizations_url":"https://api.github.com/users/ikkez/orgs","repos_url":"https://api.github.com/users/ikkez/repos","events_url":"https://api.github.com/users/ikkez/events{/privacy}","received_events_url":"https://api.github.com/users/ikkez/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T16:23:07Z","updated_at":"2017-03-16T16:23:07Z","body":"It is not \"normal\", but probably a web server configuration issue. Usually the webserver spawns multiple php threads for such things. What web server environment are you using? Maybe our google board would be a better place for this issue."}}
{"actor":{"display_login":"ikkez"}}