{"action":"created","comment":{"url":"https://api.github.com/repos/prograess/obvyazka/pulls/comments/23829502","id":23829502,"diff_hunk":"@@ -117,35 +119,33 @@ Server.prototype._onConnection = function(conn){\n     var gotHelo = false;\n     var helo_bl = Buffer.byteLength(self.heloFromClient);\n \tvar gotCIDMarker = false;\n-\tvar CIDMarker;\n-\tvar gotCID = false;\n-\tvar cid;\n-\tvar oc = new Connection();\n+\tvar CIDMarker = null;\n+    var gotCID = false;\n+    var cid;\n+    var oc = new Connection();\n \n     function onData(dataReceived){\n         data = Buffer.concat([data,dataReceived],data.length + dataReceived.length);\n-\t\tif (!gotHelo && policyRegExp.test(data.toString())){\n-\t\t\t// Посылаем XML и закрываем сокет:\n-\t\t\tconn.end(self._crossdomainXML);","path":"lib/transports/TCP.js","position":33,"original_position":33,"commit_id":"1233f73249c42be28cf72ff8ba515ae6241db299","original_commit_id":"1233f73249c42be28cf72ff8ba515ae6241db299","user":{"login":"mcheshkov","id":1045163,"avatar_url":"https://avatars.githubusercontent.com/u/1045163?v=3","gravatar_id":"","url":"https://api.github.com/users/mcheshkov","html_url":"https://github.com/mcheshkov","followers_url":"https://api.github.com/users/mcheshkov/followers","following_url":"https://api.github.com/users/mcheshkov/following{/other_user}","gists_url":"https://api.github.com/users/mcheshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/mcheshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcheshkov/subscriptions","organizations_url":"https://api.github.com/users/mcheshkov/orgs","repos_url":"https://api.github.com/users/mcheshkov/repos","events_url":"https://api.github.com/users/mcheshkov/events{/privacy}","received_events_url":"https://api.github.com/users/mcheshkov/received_events","type":"User","site_admin":false},"body":"Now nobody will ever send crossdomain policy, and flash won't connect","created_at":"2015-01-30T08:36:07Z","updated_at":"2015-01-30T08:36:07Z","html_url":"https://github.com/prograess/obvyazka/pull/1#discussion_r23829502","pull_request_url":"https://api.github.com/repos/prograess/obvyazka/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/comments/23829502"},"html":{"href":"https://github.com/prograess/obvyazka/pull/1#discussion_r23829502"},"pull_request":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/prograess/obvyazka/pulls/1","id":28189580,"html_url":"https://github.com/prograess/obvyazka/pull/1","diff_url":"https://github.com/prograess/obvyazka/pull/1.diff","patch_url":"https://github.com/prograess/obvyazka/pull/1.patch","issue_url":"https://api.github.com/repos/prograess/obvyazka/issues/1","number":1,"state":"open","locked":false,"title":"add client and tcp_client_transport","user":{"login":"oleg1","id":2910773,"avatar_url":"https://avatars.githubusercontent.com/u/2910773?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg1","html_url":"https://github.com/oleg1","followers_url":"https://api.github.com/users/oleg1/followers","following_url":"https://api.github.com/users/oleg1/following{/other_user}","gists_url":"https://api.github.com/users/oleg1/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg1/subscriptions","organizations_url":"https://api.github.com/users/oleg1/orgs","repos_url":"https://api.github.com/users/oleg1/repos","events_url":"https://api.github.com/users/oleg1/events{/privacy}","received_events_url":"https://api.github.com/users/oleg1/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-28T12:28:27Z","updated_at":"2015-01-30T08:36:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4f3d32329132378948a2457feea732ee0259219","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prograess/obvyazka/pulls/1/commits","review_comments_url":"https://api.github.com/repos/prograess/obvyazka/pulls/1/comments","review_comment_url":"https://api.github.com/repos/prograess/obvyazka/pulls/comments/{number}","comments_url":"https://api.github.com/repos/prograess/obvyazka/issues/1/comments","statuses_url":"https://api.github.com/repos/prograess/obvyazka/statuses/1233f73249c42be28cf72ff8ba515ae6241db299","head":{"label":"oleg1:tcp_client_transport","ref":"tcp_client_transport","sha":"1233f73249c42be28cf72ff8ba515ae6241db299","user":{"login":"oleg1","id":2910773,"avatar_url":"https://avatars.githubusercontent.com/u/2910773?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg1","html_url":"https://github.com/oleg1","followers_url":"https://api.github.com/users/oleg1/followers","following_url":"https://api.github.com/users/oleg1/following{/other_user}","gists_url":"https://api.github.com/users/oleg1/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg1/subscriptions","organizations_url":"https://api.github.com/users/oleg1/orgs","repos_url":"https://api.github.com/users/oleg1/repos","events_url":"https://api.github.com/users/oleg1/events{/privacy}","received_events_url":"https://api.github.com/users/oleg1/received_events","type":"User","site_admin":false},"repo":{"id":29966286,"name":"obvyazka","full_name":"oleg1/obvyazka","owner":{"login":"oleg1","id":2910773,"avatar_url":"https://avatars.githubusercontent.com/u/2910773?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg1","html_url":"https://github.com/oleg1","followers_url":"https://api.github.com/users/oleg1/followers","following_url":"https://api.github.com/users/oleg1/following{/other_user}","gists_url":"https://api.github.com/users/oleg1/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg1/subscriptions","organizations_url":"https://api.github.com/users/oleg1/orgs","repos_url":"https://api.github.com/users/oleg1/repos","events_url":"https://api.github.com/users/oleg1/events{/privacy}","received_events_url":"https://api.github.com/users/oleg1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg1/obvyazka","description":"Realtime networking on NodeJS for multiplayer games and other apps using differrent TCP-sockets and HTTP-fallback.","fork":true,"url":"https://api.github.com/repos/oleg1/obvyazka","forks_url":"https://api.github.com/repos/oleg1/obvyazka/forks","keys_url":"https://api.github.com/repos/oleg1/obvyazka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg1/obvyazka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg1/obvyazka/teams","hooks_url":"https://api.github.com/repos/oleg1/obvyazka/hooks","issue_events_url":"https://api.github.com/repos/oleg1/obvyazka/issues/events{/number}","events_url":"https://api.github.com/repos/oleg1/obvyazka/events","assignees_url":"https://api.github.com/repos/oleg1/obvyazka/assignees{/user}","branches_url":"https://api.github.com/repos/oleg1/obvyazka/branches{/branch}","tags_url":"https://api.github.com/repos/oleg1/obvyazka/tags","blobs_url":"https://api.github.com/repos/oleg1/obvyazka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg1/obvyazka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg1/obvyazka/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg1/obvyazka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg1/obvyazka/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg1/obvyazka/languages","stargazers_url":"https://api.github.com/repos/oleg1/obvyazka/stargazers","contributors_url":"https://api.github.com/repos/oleg1/obvyazka/contributors","subscribers_url":"https://api.github.com/repos/oleg1/obvyazka/subscribers","subscription_url":"https://api.github.com/repos/oleg1/obvyazka/subscription","commits_url":"https://api.github.com/repos/oleg1/obvyazka/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg1/obvyazka/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg1/obvyazka/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg1/obvyazka/issues/comments/{number}","contents_url":"https://api.github.com/repos/oleg1/obvyazka/contents/{+path}","compare_url":"https://api.github.com/repos/oleg1/obvyazka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg1/obvyazka/merges","archive_url":"https://api.github.com/repos/oleg1/obvyazka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg1/obvyazka/downloads","issues_url":"https://api.github.com/repos/oleg1/obvyazka/issues{/number}","pulls_url":"https://api.github.com/repos/oleg1/obvyazka/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg1/obvyazka/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg1/obvyazka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg1/obvyazka/labels{/name}","releases_url":"https://api.github.com/repos/oleg1/obvyazka/releases{/id}","created_at":"2015-01-28T12:21:09Z","updated_at":"2015-01-28T12:21:10Z","pushed_at":"2015-01-30T07:20:00Z","git_url":"git://github.com/oleg1/obvyazka.git","ssh_url":"git@github.com:oleg1/obvyazka.git","clone_url":"https://github.com/oleg1/obvyazka.git","svn_url":"https://github.com/oleg1/obvyazka","homepage":null,"size":125,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prograess:master","ref":"master","sha":"41518fb74c11e9d506f9b12a350f921cee57766d","user":{"login":"prograess","id":2202684,"avatar_url":"https://avatars.githubusercontent.com/u/2202684?v=3","gravatar_id":"","url":"https://api.github.com/users/prograess","html_url":"https://github.com/prograess","followers_url":"https://api.github.com/users/prograess/followers","following_url":"https://api.github.com/users/prograess/following{/other_user}","gists_url":"https://api.github.com/users/prograess/gists{/gist_id}","starred_url":"https://api.github.com/users/prograess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prograess/subscriptions","organizations_url":"https://api.github.com/users/prograess/orgs","repos_url":"https://api.github.com/users/prograess/repos","events_url":"https://api.github.com/users/prograess/events{/privacy}","received_events_url":"https://api.github.com/users/prograess/received_events","type":"Organization","site_admin":false},"repo":{"id":9832061,"name":"obvyazka","full_name":"prograess/obvyazka","owner":{"login":"prograess","id":2202684,"avatar_url":"https://avatars.githubusercontent.com/u/2202684?v=3","gravatar_id":"","url":"https://api.github.com/users/prograess","html_url":"https://github.com/prograess","followers_url":"https://api.github.com/users/prograess/followers","following_url":"https://api.github.com/users/prograess/following{/other_user}","gists_url":"https://api.github.com/users/prograess/gists{/gist_id}","starred_url":"https://api.github.com/users/prograess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prograess/subscriptions","organizations_url":"https://api.github.com/users/prograess/orgs","repos_url":"https://api.github.com/users/prograess/repos","events_url":"https://api.github.com/users/prograess/events{/privacy}","received_events_url":"https://api.github.com/users/prograess/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prograess/obvyazka","description":"Realtime networking on NodeJS for multiplayer games and other apps using differrent TCP-sockets and HTTP-fallback.","fork":false,"url":"https://api.github.com/repos/prograess/obvyazka","forks_url":"https://api.github.com/repos/prograess/obvyazka/forks","keys_url":"https://api.github.com/repos/prograess/obvyazka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prograess/obvyazka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prograess/obvyazka/teams","hooks_url":"https://api.github.com/repos/prograess/obvyazka/hooks","issue_events_url":"https://api.github.com/repos/prograess/obvyazka/issues/events{/number}","events_url":"https://api.github.com/repos/prograess/obvyazka/events","assignees_url":"https://api.github.com/repos/prograess/obvyazka/assignees{/user}","branches_url":"https://api.github.com/repos/prograess/obvyazka/branches{/branch}","tags_url":"https://api.github.com/repos/prograess/obvyazka/tags","blobs_url":"https://api.github.com/repos/prograess/obvyazka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prograess/obvyazka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prograess/obvyazka/git/refs{/sha}","trees_url":"https://api.github.com/repos/prograess/obvyazka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prograess/obvyazka/statuses/{sha}","languages_url":"https://api.github.com/repos/prograess/obvyazka/languages","stargazers_url":"https://api.github.com/repos/prograess/obvyazka/stargazers","contributors_url":"https://api.github.com/repos/prograess/obvyazka/contributors","subscribers_url":"https://api.github.com/repos/prograess/obvyazka/subscribers","subscription_url":"https://api.github.com/repos/prograess/obvyazka/subscription","commits_url":"https://api.github.com/repos/prograess/obvyazka/commits{/sha}","git_commits_url":"https://api.github.com/repos/prograess/obvyazka/git/commits{/sha}","comments_url":"https://api.github.com/repos/prograess/obvyazka/comments{/number}","issue_comment_url":"https://api.github.com/repos/prograess/obvyazka/issues/comments/{number}","contents_url":"https://api.github.com/repos/prograess/obvyazka/contents/{+path}","compare_url":"https://api.github.com/repos/prograess/obvyazka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prograess/obvyazka/merges","archive_url":"https://api.github.com/repos/prograess/obvyazka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prograess/obvyazka/downloads","issues_url":"https://api.github.com/repos/prograess/obvyazka/issues{/number}","pulls_url":"https://api.github.com/repos/prograess/obvyazka/pulls{/number}","milestones_url":"https://api.github.com/repos/prograess/obvyazka/milestones{/number}","notifications_url":"https://api.github.com/repos/prograess/obvyazka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prograess/obvyazka/labels{/name}","releases_url":"https://api.github.com/repos/prograess/obvyazka/releases{/id}","created_at":"2013-05-03T08:38:39Z","updated_at":"2014-09-29T04:50:13Z","pushed_at":"2013-10-25T08:27:56Z","git_url":"git://github.com/prograess/obvyazka.git","ssh_url":"git@github.com:prograess/obvyazka.git","clone_url":"https://github.com/prograess/obvyazka.git","svn_url":"https://github.com/prograess/obvyazka","homepage":null,"size":176,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/1"},"html":{"href":"https://github.com/prograess/obvyazka/pull/1"},"issue":{"href":"https://api.github.com/repos/prograess/obvyazka/issues/1"},"comments":{"href":"https://api.github.com/repos/prograess/obvyazka/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/prograess/obvyazka/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/prograess/obvyazka/statuses/1233f73249c42be28cf72ff8ba515ae6241db299"}}}}