{"action":"created","issue":{"url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/1","repository_url":"https://api.github.com/repos/chongyi/swoole-laravel-framework","labels_url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/1/comments","events_url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/1/events","html_url":"https://github.com/chongyi/swoole-laravel-framework/issues/1","id":170606922,"number":1,"title":"有个细节讨论一下！","user":{"login":"chenchun0629","id":3328490,"avatar_url":"https://avatars.githubusercontent.com/u/3328490?v=3","gravatar_id":"","url":"https://api.github.com/users/chenchun0629","html_url":"https://github.com/chenchun0629","followers_url":"https://api.github.com/users/chenchun0629/followers","following_url":"https://api.github.com/users/chenchun0629/following{/other_user}","gists_url":"https://api.github.com/users/chenchun0629/gists{/gist_id}","starred_url":"https://api.github.com/users/chenchun0629/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenchun0629/subscriptions","organizations_url":"https://api.github.com/users/chenchun0629/orgs","repos_url":"https://api.github.com/users/chenchun0629/repos","events_url":"https://api.github.com/users/chenchun0629/events{/privacy}","received_events_url":"https://api.github.com/users/chenchun0629/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-11T09:44:05Z","updated_at":"2016-08-12T03:29:27Z","closed_at":null,"body":"```\r\n$this->swoole->on('request', function (SwooleRequest $request, SwooleResponse $response) {\r\n            $realRequest  = Request::captureViaSwooleRequest($request);\r\n            $realResponse = $this->handle($realRequest);\r\n            foreach ($realResponse->headers->allPreserveCase() as $name => $values) {\r\n                foreach ($values as $value) {\r\n                    $response->header($name, $value);\r\n                }\r\n            }\r\n            foreach ($realResponse->headers->getCookies() as $cookie) {\r\n                $response->cookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(),\r\n                    $cookie->getPath(),\r\n                    $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());\r\n            }\r\n            $response->status($realResponse->getStatusCode());\r\n            $this->processTerminate($response, $realResponse);\r\n        });\r\n```\r\n\r\n所有的请求都在一个Application里面处理（也就是说一个容器里面），会不会存在第一次进来make的对象，第二次也能获取到，这样是不是造成了多次请求之间的变量污染了？另外还有个疑问，有没有内存溢出的现象？"},"comment":{"url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/comments/239353233","html_url":"https://github.com/chongyi/swoole-laravel-framework/issues/1#issuecomment-239353233","issue_url":"https://api.github.com/repos/chongyi/swoole-laravel-framework/issues/1","id":239353233,"user":{"login":"chongyi","id":7391880,"avatar_url":"https://avatars.githubusercontent.com/u/7391880?v=3","gravatar_id":"","url":"https://api.github.com/users/chongyi","html_url":"https://github.com/chongyi","followers_url":"https://api.github.com/users/chongyi/followers","following_url":"https://api.github.com/users/chongyi/following{/other_user}","gists_url":"https://api.github.com/users/chongyi/gists{/gist_id}","starred_url":"https://api.github.com/users/chongyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chongyi/subscriptions","organizations_url":"https://api.github.com/users/chongyi/orgs","repos_url":"https://api.github.com/users/chongyi/repos","events_url":"https://api.github.com/users/chongyi/events{/privacy}","received_events_url":"https://api.github.com/users/chongyi/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T03:29:27Z","updated_at":"2016-08-12T03:29:27Z","body":"现在污染问题已解决，可以再试一下？"}}
{"actor":{"display_login":"chongyi"}}