{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/40768046","id":40768046,"diff_hunk":"@@ -52,11 +52,33 @@ static inline void _srcport(uint16_t *port, gnrc_pktsnip_t *hdr)\n int gnrc_conn_recvfrom(conn_t *conn, void *data, size_t max_len, void *addr, size_t *addr_len,\n                        uint16_t *port)\n {\n+    return gnrc_conn_recvfrom_timeout(conn, data, max_len, addr, addr_len, port, CONN_NO_TIMEOUT);","path":"sys/net/gnrc/conn/gnrc_conn.c","position":4,"original_position":4,"commit_id":"d64658cafa01e14ff6dfe34e7d5c6d4c82318d1b","original_commit_id":"d64658cafa01e14ff6dfe34e7d5c6d4c82318d1b","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"@DipSwitch Could you explain a bit how this function works?","created_at":"2015-09-30T08:11:34Z","updated_at":"2015-09-30T08:11:34Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/3921#discussion_r40768046","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/40768046"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3921#discussion_r40768046"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921","id":45606598,"html_url":"https://github.com/RIOT-OS/RIOT/pull/3921","diff_url":"https://github.com/RIOT-OS/RIOT/pull/3921.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/3921.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3921","number":3921,"state":"open","locked":false,"title":"conn: extend API with timeout support","user":{"login":"DipSwitch","id":476484,"avatar_url":"https://avatars.githubusercontent.com/u/476484?v=3","gravatar_id":"","url":"https://api.github.com/users/DipSwitch","html_url":"https://github.com/DipSwitch","followers_url":"https://api.github.com/users/DipSwitch/followers","following_url":"https://api.github.com/users/DipSwitch/following{/other_user}","gists_url":"https://api.github.com/users/DipSwitch/gists{/gist_id}","starred_url":"https://api.github.com/users/DipSwitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DipSwitch/subscriptions","organizations_url":"https://api.github.com/users/DipSwitch/orgs","repos_url":"https://api.github.com/users/DipSwitch/repos","events_url":"https://api.github.com/users/DipSwitch/events{/privacy}","received_events_url":"https://api.github.com/users/DipSwitch/received_events","type":"User","site_admin":false},"body":"Extending the `conn` API to support timeouts\r\n\r\nThe call to `xtimer_msg_receive_timeout` needs validating, because this probably is wrong.","created_at":"2015-09-21T22:07:57Z","updated_at":"2015-09-30T08:11:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8acf807832159c0c7e9946e6990512b4b7a410f3","assignee":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/10","html_url":"https://github.com/RIOT-OS/RIOT/milestones/Release%20NEXT%20MAJOR","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/10/labels","id":871004,"number":10,"title":"Release NEXT MAJOR","description":"This is the next major milestone. It gets a valid name if we know the next date to release on.","creator":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"open_issues":136,"closed_issues":57,"state":"open","created_at":"2014-11-18T10:51:58Z","updated_at":"2015-09-30T06:58:29Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3921/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/d64658cafa01e14ff6dfe34e7d5c6d4c82318d1b","head":{"label":"DipSwitch:conn_timeout_extension","ref":"conn_timeout_extension","sha":"d64658cafa01e14ff6dfe34e7d5c6d4c82318d1b","user":{"login":"DipSwitch","id":476484,"avatar_url":"https://avatars.githubusercontent.com/u/476484?v=3","gravatar_id":"","url":"https://api.github.com/users/DipSwitch","html_url":"https://github.com/DipSwitch","followers_url":"https://api.github.com/users/DipSwitch/followers","following_url":"https://api.github.com/users/DipSwitch/following{/other_user}","gists_url":"https://api.github.com/users/DipSwitch/gists{/gist_id}","starred_url":"https://api.github.com/users/DipSwitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DipSwitch/subscriptions","organizations_url":"https://api.github.com/users/DipSwitch/orgs","repos_url":"https://api.github.com/users/DipSwitch/repos","events_url":"https://api.github.com/users/DipSwitch/events{/privacy}","received_events_url":"https://api.github.com/users/DipSwitch/received_events","type":"User","site_admin":false},"repo":{"id":32619197,"name":"RIOT","full_name":"DipSwitch/RIOT","owner":{"login":"DipSwitch","id":476484,"avatar_url":"https://avatars.githubusercontent.com/u/476484?v=3","gravatar_id":"","url":"https://api.github.com/users/DipSwitch","html_url":"https://github.com/DipSwitch","followers_url":"https://api.github.com/users/DipSwitch/followers","following_url":"https://api.github.com/users/DipSwitch/following{/other_user}","gists_url":"https://api.github.com/users/DipSwitch/gists{/gist_id}","starred_url":"https://api.github.com/users/DipSwitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DipSwitch/subscriptions","organizations_url":"https://api.github.com/users/DipSwitch/orgs","repos_url":"https://api.github.com/users/DipSwitch/repos","events_url":"https://api.github.com/users/DipSwitch/events{/privacy}","received_events_url":"https://api.github.com/users/DipSwitch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DipSwitch/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/DipSwitch/RIOT","forks_url":"https://api.github.com/repos/DipSwitch/RIOT/forks","keys_url":"https://api.github.com/repos/DipSwitch/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DipSwitch/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DipSwitch/RIOT/teams","hooks_url":"https://api.github.com/repos/DipSwitch/RIOT/hooks","issue_events_url":"https://api.github.com/repos/DipSwitch/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/DipSwitch/RIOT/events","assignees_url":"https://api.github.com/repos/DipSwitch/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/DipSwitch/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/DipSwitch/RIOT/tags","blobs_url":"https://api.github.com/repos/DipSwitch/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DipSwitch/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DipSwitch/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/DipSwitch/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DipSwitch/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/DipSwitch/RIOT/languages","stargazers_url":"https://api.github.com/repos/DipSwitch/RIOT/stargazers","contributors_url":"https://api.github.com/repos/DipSwitch/RIOT/contributors","subscribers_url":"https://api.github.com/repos/DipSwitch/RIOT/subscribers","subscription_url":"https://api.github.com/repos/DipSwitch/RIOT/subscription","commits_url":"https://api.github.com/repos/DipSwitch/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/DipSwitch/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/DipSwitch/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/DipSwitch/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/DipSwitch/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/DipSwitch/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DipSwitch/RIOT/merges","archive_url":"https://api.github.com/repos/DipSwitch/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DipSwitch/RIOT/downloads","issues_url":"https://api.github.com/repos/DipSwitch/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/DipSwitch/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/DipSwitch/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/DipSwitch/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DipSwitch/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/DipSwitch/RIOT/releases{/id}","created_at":"2015-03-21T03:56:46Z","updated_at":"2015-03-21T03:56:54Z","pushed_at":"2015-09-29T08:20:09Z","git_url":"git://github.com/DipSwitch/RIOT.git","ssh_url":"git@github.com:DipSwitch/RIOT.git","clone_url":"https://github.com/DipSwitch/RIOT.git","svn_url":"https://github.com/DipSwitch/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":21259,"stargazers_count":0,"watchers_count":0,"language":"C","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":"RIOT-OS:master","ref":"master","sha":"00a0c90269bb85163adbe3bf556f4f17dd4e3cb0","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-09-30T07:52:02Z","pushed_at":"2015-09-30T08:06:27Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":130737,"stargazers_count":509,"watchers_count":509,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":401,"mirror_url":null,"open_issues_count":359,"forks":401,"open_issues":359,"watchers":509,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/3921"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3921"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/3921/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/3921/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/d64658cafa01e14ff6dfe34e7d5c6d4c82318d1b"}}}}