{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34","id":39092064,"html_url":"https://github.com/MyMedsAndMe/spell/pull/34","diff_url":"https://github.com/MyMedsAndMe/spell/pull/34.diff","patch_url":"https://github.com/MyMedsAndMe/spell/pull/34.patch","issue_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/34","number":34,"state":"open","locked":false,"title":"protect rawsocket transport against overflow","user":{"login":"danmarcab","id":1517969,"avatar_url":"https://avatars.githubusercontent.com/u/1517969?v=3","gravatar_id":"","url":"https://api.github.com/users/danmarcab","html_url":"https://github.com/danmarcab","followers_url":"https://api.github.com/users/danmarcab/followers","following_url":"https://api.github.com/users/danmarcab/following{/other_user}","gists_url":"https://api.github.com/users/danmarcab/gists{/gist_id}","starred_url":"https://api.github.com/users/danmarcab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmarcab/subscriptions","organizations_url":"https://api.github.com/users/danmarcab/orgs","repos_url":"https://api.github.com/users/danmarcab/repos","events_url":"https://api.github.com/users/danmarcab/events{/privacy}","received_events_url":"https://api.github.com/users/danmarcab/received_events","type":"User","site_admin":false},"body":"From erlang docs\r\n Note that {active, true} mode provides no flow control; a fast sender could easily overflow the receiver with incoming messages. The same is true of {active, N} mode while the message count is greater than zero. Use active mode only if your high-level protocol provides its own flow control (for instance, acknowledging received messages) or the amount of data exchanged is small. {active, false} mode, use of the {active, once} mode or {active, N} mode with values of N appropriate for the application provides flow control; the other side will not be able send faster than the receiver can read. \r\n\r\nWith this change we make sure we only receive one message at a time, so we are protected against overflow","created_at":"2015-07-02T15:03:16Z","updated_at":"2015-07-02T15:03:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34/commits","review_comments_url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34/comments","review_comment_url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/34/comments","statuses_url":"https://api.github.com/repos/MyMedsAndMe/spell/statuses/53cfbfc9b8c0fd8299a06e9477d8239756317372","head":{"label":"MyMedsAndMe:prevent_rawsocket_overflow_33","ref":"prevent_rawsocket_overflow_33","sha":"53cfbfc9b8c0fd8299a06e9477d8239756317372","user":{"login":"MyMedsAndMe","id":1699499,"avatar_url":"https://avatars.githubusercontent.com/u/1699499?v=3","gravatar_id":"","url":"https://api.github.com/users/MyMedsAndMe","html_url":"https://github.com/MyMedsAndMe","followers_url":"https://api.github.com/users/MyMedsAndMe/followers","following_url":"https://api.github.com/users/MyMedsAndMe/following{/other_user}","gists_url":"https://api.github.com/users/MyMedsAndMe/gists{/gist_id}","starred_url":"https://api.github.com/users/MyMedsAndMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyMedsAndMe/subscriptions","organizations_url":"https://api.github.com/users/MyMedsAndMe/orgs","repos_url":"https://api.github.com/users/MyMedsAndMe/repos","events_url":"https://api.github.com/users/MyMedsAndMe/events{/privacy}","received_events_url":"https://api.github.com/users/MyMedsAndMe/received_events","type":"Organization","site_admin":false},"repo":{"id":33552000,"name":"spell","full_name":"MyMedsAndMe/spell","owner":{"login":"MyMedsAndMe","id":1699499,"avatar_url":"https://avatars.githubusercontent.com/u/1699499?v=3","gravatar_id":"","url":"https://api.github.com/users/MyMedsAndMe","html_url":"https://github.com/MyMedsAndMe","followers_url":"https://api.github.com/users/MyMedsAndMe/followers","following_url":"https://api.github.com/users/MyMedsAndMe/following{/other_user}","gists_url":"https://api.github.com/users/MyMedsAndMe/gists{/gist_id}","starred_url":"https://api.github.com/users/MyMedsAndMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyMedsAndMe/subscriptions","organizations_url":"https://api.github.com/users/MyMedsAndMe/orgs","repos_url":"https://api.github.com/users/MyMedsAndMe/repos","events_url":"https://api.github.com/users/MyMedsAndMe/events{/privacy}","received_events_url":"https://api.github.com/users/MyMedsAndMe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MyMedsAndMe/spell","description":"Spell is a Web Application Messaging Protocol (WAMP) client implementation in Elixir. WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol: Remote Procedure Calls + Publish & Subscribe: http://wamp.ws/","fork":false,"url":"https://api.github.com/repos/MyMedsAndMe/spell","forks_url":"https://api.github.com/repos/MyMedsAndMe/spell/forks","keys_url":"https://api.github.com/repos/MyMedsAndMe/spell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyMedsAndMe/spell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyMedsAndMe/spell/teams","hooks_url":"https://api.github.com/repos/MyMedsAndMe/spell/hooks","issue_events_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/events{/number}","events_url":"https://api.github.com/repos/MyMedsAndMe/spell/events","assignees_url":"https://api.github.com/repos/MyMedsAndMe/spell/assignees{/user}","branches_url":"https://api.github.com/repos/MyMedsAndMe/spell/branches{/branch}","tags_url":"https://api.github.com/repos/MyMedsAndMe/spell/tags","blobs_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyMedsAndMe/spell/statuses/{sha}","languages_url":"https://api.github.com/repos/MyMedsAndMe/spell/languages","stargazers_url":"https://api.github.com/repos/MyMedsAndMe/spell/stargazers","contributors_url":"https://api.github.com/repos/MyMedsAndMe/spell/contributors","subscribers_url":"https://api.github.com/repos/MyMedsAndMe/spell/subscribers","subscription_url":"https://api.github.com/repos/MyMedsAndMe/spell/subscription","commits_url":"https://api.github.com/repos/MyMedsAndMe/spell/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyMedsAndMe/spell/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyMedsAndMe/spell/contents/{+path}","compare_url":"https://api.github.com/repos/MyMedsAndMe/spell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyMedsAndMe/spell/merges","archive_url":"https://api.github.com/repos/MyMedsAndMe/spell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyMedsAndMe/spell/downloads","issues_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues{/number}","pulls_url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls{/number}","milestones_url":"https://api.github.com/repos/MyMedsAndMe/spell/milestones{/number}","notifications_url":"https://api.github.com/repos/MyMedsAndMe/spell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyMedsAndMe/spell/labels{/name}","releases_url":"https://api.github.com/repos/MyMedsAndMe/spell/releases{/id}","created_at":"2015-04-07T15:36:17Z","updated_at":"2015-06-14T09:20:36Z","pushed_at":"2015-07-02T15:01:53Z","git_url":"git://github.com/MyMedsAndMe/spell.git","ssh_url":"git@github.com:MyMedsAndMe/spell.git","clone_url":"https://github.com/MyMedsAndMe/spell.git","svn_url":"https://github.com/MyMedsAndMe/spell","homepage":"","size":569,"stargazers_count":16,"watchers_count":16,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":16,"default_branch":"master"}},"base":{"label":"MyMedsAndMe:master","ref":"master","sha":"e086ede7a1b619f0f4a8e06ec0c92108241be827","user":{"login":"MyMedsAndMe","id":1699499,"avatar_url":"https://avatars.githubusercontent.com/u/1699499?v=3","gravatar_id":"","url":"https://api.github.com/users/MyMedsAndMe","html_url":"https://github.com/MyMedsAndMe","followers_url":"https://api.github.com/users/MyMedsAndMe/followers","following_url":"https://api.github.com/users/MyMedsAndMe/following{/other_user}","gists_url":"https://api.github.com/users/MyMedsAndMe/gists{/gist_id}","starred_url":"https://api.github.com/users/MyMedsAndMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyMedsAndMe/subscriptions","organizations_url":"https://api.github.com/users/MyMedsAndMe/orgs","repos_url":"https://api.github.com/users/MyMedsAndMe/repos","events_url":"https://api.github.com/users/MyMedsAndMe/events{/privacy}","received_events_url":"https://api.github.com/users/MyMedsAndMe/received_events","type":"Organization","site_admin":false},"repo":{"id":33552000,"name":"spell","full_name":"MyMedsAndMe/spell","owner":{"login":"MyMedsAndMe","id":1699499,"avatar_url":"https://avatars.githubusercontent.com/u/1699499?v=3","gravatar_id":"","url":"https://api.github.com/users/MyMedsAndMe","html_url":"https://github.com/MyMedsAndMe","followers_url":"https://api.github.com/users/MyMedsAndMe/followers","following_url":"https://api.github.com/users/MyMedsAndMe/following{/other_user}","gists_url":"https://api.github.com/users/MyMedsAndMe/gists{/gist_id}","starred_url":"https://api.github.com/users/MyMedsAndMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyMedsAndMe/subscriptions","organizations_url":"https://api.github.com/users/MyMedsAndMe/orgs","repos_url":"https://api.github.com/users/MyMedsAndMe/repos","events_url":"https://api.github.com/users/MyMedsAndMe/events{/privacy}","received_events_url":"https://api.github.com/users/MyMedsAndMe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MyMedsAndMe/spell","description":"Spell is a Web Application Messaging Protocol (WAMP) client implementation in Elixir. WAMP is an open standard WebSocket subprotocol that provides two application messaging patterns in one unified protocol: Remote Procedure Calls + Publish & Subscribe: http://wamp.ws/","fork":false,"url":"https://api.github.com/repos/MyMedsAndMe/spell","forks_url":"https://api.github.com/repos/MyMedsAndMe/spell/forks","keys_url":"https://api.github.com/repos/MyMedsAndMe/spell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyMedsAndMe/spell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyMedsAndMe/spell/teams","hooks_url":"https://api.github.com/repos/MyMedsAndMe/spell/hooks","issue_events_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/events{/number}","events_url":"https://api.github.com/repos/MyMedsAndMe/spell/events","assignees_url":"https://api.github.com/repos/MyMedsAndMe/spell/assignees{/user}","branches_url":"https://api.github.com/repos/MyMedsAndMe/spell/branches{/branch}","tags_url":"https://api.github.com/repos/MyMedsAndMe/spell/tags","blobs_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyMedsAndMe/spell/statuses/{sha}","languages_url":"https://api.github.com/repos/MyMedsAndMe/spell/languages","stargazers_url":"https://api.github.com/repos/MyMedsAndMe/spell/stargazers","contributors_url":"https://api.github.com/repos/MyMedsAndMe/spell/contributors","subscribers_url":"https://api.github.com/repos/MyMedsAndMe/spell/subscribers","subscription_url":"https://api.github.com/repos/MyMedsAndMe/spell/subscription","commits_url":"https://api.github.com/repos/MyMedsAndMe/spell/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyMedsAndMe/spell/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyMedsAndMe/spell/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyMedsAndMe/spell/contents/{+path}","compare_url":"https://api.github.com/repos/MyMedsAndMe/spell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyMedsAndMe/spell/merges","archive_url":"https://api.github.com/repos/MyMedsAndMe/spell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyMedsAndMe/spell/downloads","issues_url":"https://api.github.com/repos/MyMedsAndMe/spell/issues{/number}","pulls_url":"https://api.github.com/repos/MyMedsAndMe/spell/pulls{/number}","milestones_url":"https://api.github.com/repos/MyMedsAndMe/spell/milestones{/number}","notifications_url":"https://api.github.com/repos/MyMedsAndMe/spell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyMedsAndMe/spell/labels{/name}","releases_url":"https://api.github.com/repos/MyMedsAndMe/spell/releases{/id}","created_at":"2015-04-07T15:36:17Z","updated_at":"2015-06-14T09:20:36Z","pushed_at":"2015-07-02T15:01:53Z","git_url":"git://github.com/MyMedsAndMe/spell.git","ssh_url":"git@github.com:MyMedsAndMe/spell.git","clone_url":"https://github.com/MyMedsAndMe/spell.git","svn_url":"https://github.com/MyMedsAndMe/spell","homepage":"","size":569,"stargazers_count":16,"watchers_count":16,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34"},"html":{"href":"https://github.com/MyMedsAndMe/spell/pull/34"},"issue":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/issues/34"},"comments":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/MyMedsAndMe/spell/statuses/53cfbfc9b8c0fd8299a06e9477d8239756317372"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}