{"action":"created","comment":{"url":"https://api.github.com/repos/shlee0605/congestion/pulls/comments/28026447","id":28026447,"diff_hunk":"@@ -113,7 +116,13 @@ void sw_recv_packet(const rel_t* p_rel, const packet_t* p_packet) {\n     highest_acked_packet -= 1;\n     int next_ackno = highest_acked_packet + 1;\n     p_sw->highest_acked_pkt = highest_acked_packet;\n-    send_ack_packet(p_rel, (uint32_t) next_ackno);\n+\n+    DEBUG(\"next_ackno: %d, highest_ack_pkt=%d\", next_ackno, p_sw->highest_acked_pkt);\n+    if(p_slot->len == 12) {","path":"3a/sliding_window.c","position":48,"original_position":48,"commit_id":"4c3b0cf66978b6271ee988acd8b74ad95f70915e","original_commit_id":"4c3b0cf66978b6271ee988acd8b74ad95f70915e","user":{"login":"chcokr","id":3670967,"avatar_url":"https://avatars.githubusercontent.com/u/3670967?v=3","gravatar_id":"","url":"https://api.github.com/users/chcokr","html_url":"https://github.com/chcokr","followers_url":"https://api.github.com/users/chcokr/followers","following_url":"https://api.github.com/users/chcokr/following{/other_user}","gists_url":"https://api.github.com/users/chcokr/gists{/gist_id}","starred_url":"https://api.github.com/users/chcokr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chcokr/subscriptions","organizations_url":"https://api.github.com/users/chcokr/orgs","repos_url":"https://api.github.com/users/chcokr/repos","events_url":"https://api.github.com/users/chcokr/events{/privacy}","received_events_url":"https://api.github.com/users/chcokr/received_events","type":"User","site_admin":false},"body":"Change 12 to EOF_PACKET_SIZE","created_at":"2015-04-09T00:13:13Z","updated_at":"2015-04-09T00:13:13Z","html_url":"https://github.com/shlee0605/congestion/pull/23#discussion_r28026447","pull_request_url":"https://api.github.com/repos/shlee0605/congestion/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/comments/28026447"},"html":{"href":"https://github.com/shlee0605/congestion/pull/23#discussion_r28026447"},"pull_request":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/shlee0605/congestion/pulls/23","id":32884984,"html_url":"https://github.com/shlee0605/congestion/pull/23","diff_url":"https://github.com/shlee0605/congestion/pull/23.diff","patch_url":"https://github.com/shlee0605/congestion/pull/23.patch","issue_url":"https://api.github.com/repos/shlee0605/congestion/issues/23","number":23,"state":"open","locked":false,"title":"fixed the bug at highest_acked_packet","user":{"login":"shlee0605","id":2805921,"avatar_url":"https://avatars.githubusercontent.com/u/2805921?v=3","gravatar_id":"","url":"https://api.github.com/users/shlee0605","html_url":"https://github.com/shlee0605","followers_url":"https://api.github.com/users/shlee0605/followers","following_url":"https://api.github.com/users/shlee0605/following{/other_user}","gists_url":"https://api.github.com/users/shlee0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shlee0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlee0605/subscriptions","organizations_url":"https://api.github.com/users/shlee0605/orgs","repos_url":"https://api.github.com/users/shlee0605/repos","events_url":"https://api.github.com/users/shlee0605/events{/privacy}","received_events_url":"https://api.github.com/users/shlee0605/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-08T17:54:07Z","updated_at":"2015-04-09T00:13:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0df60eb577030be88b49599a2cb3c3d9fd6512e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shlee0605/congestion/pulls/23/commits","review_comments_url":"https://api.github.com/repos/shlee0605/congestion/pulls/23/comments","review_comment_url":"https://api.github.com/repos/shlee0605/congestion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shlee0605/congestion/issues/23/comments","statuses_url":"https://api.github.com/repos/shlee0605/congestion/statuses/4c3b0cf66978b6271ee988acd8b74ad95f70915e","head":{"label":"shlee0605:test12","ref":"test12","sha":"4c3b0cf66978b6271ee988acd8b74ad95f70915e","user":{"login":"shlee0605","id":2805921,"avatar_url":"https://avatars.githubusercontent.com/u/2805921?v=3","gravatar_id":"","url":"https://api.github.com/users/shlee0605","html_url":"https://github.com/shlee0605","followers_url":"https://api.github.com/users/shlee0605/followers","following_url":"https://api.github.com/users/shlee0605/following{/other_user}","gists_url":"https://api.github.com/users/shlee0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shlee0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlee0605/subscriptions","organizations_url":"https://api.github.com/users/shlee0605/orgs","repos_url":"https://api.github.com/users/shlee0605/repos","events_url":"https://api.github.com/users/shlee0605/events{/privacy}","received_events_url":"https://api.github.com/users/shlee0605/received_events","type":"User","site_admin":false},"repo":{"id":33203048,"name":"congestion","full_name":"shlee0605/congestion","owner":{"login":"shlee0605","id":2805921,"avatar_url":"https://avatars.githubusercontent.com/u/2805921?v=3","gravatar_id":"","url":"https://api.github.com/users/shlee0605","html_url":"https://github.com/shlee0605","followers_url":"https://api.github.com/users/shlee0605/followers","following_url":"https://api.github.com/users/shlee0605/following{/other_user}","gists_url":"https://api.github.com/users/shlee0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shlee0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlee0605/subscriptions","organizations_url":"https://api.github.com/users/shlee0605/orgs","repos_url":"https://api.github.com/users/shlee0605/repos","events_url":"https://api.github.com/users/shlee0605/events{/privacy}","received_events_url":"https://api.github.com/users/shlee0605/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shlee0605/congestion","description":"Project3 for CS356","fork":false,"url":"https://api.github.com/repos/shlee0605/congestion","forks_url":"https://api.github.com/repos/shlee0605/congestion/forks","keys_url":"https://api.github.com/repos/shlee0605/congestion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shlee0605/congestion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shlee0605/congestion/teams","hooks_url":"https://api.github.com/repos/shlee0605/congestion/hooks","issue_events_url":"https://api.github.com/repos/shlee0605/congestion/issues/events{/number}","events_url":"https://api.github.com/repos/shlee0605/congestion/events","assignees_url":"https://api.github.com/repos/shlee0605/congestion/assignees{/user}","branches_url":"https://api.github.com/repos/shlee0605/congestion/branches{/branch}","tags_url":"https://api.github.com/repos/shlee0605/congestion/tags","blobs_url":"https://api.github.com/repos/shlee0605/congestion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shlee0605/congestion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shlee0605/congestion/git/refs{/sha}","trees_url":"https://api.github.com/repos/shlee0605/congestion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shlee0605/congestion/statuses/{sha}","languages_url":"https://api.github.com/repos/shlee0605/congestion/languages","stargazers_url":"https://api.github.com/repos/shlee0605/congestion/stargazers","contributors_url":"https://api.github.com/repos/shlee0605/congestion/contributors","subscribers_url":"https://api.github.com/repos/shlee0605/congestion/subscribers","subscription_url":"https://api.github.com/repos/shlee0605/congestion/subscription","commits_url":"https://api.github.com/repos/shlee0605/congestion/commits{/sha}","git_commits_url":"https://api.github.com/repos/shlee0605/congestion/git/commits{/sha}","comments_url":"https://api.github.com/repos/shlee0605/congestion/comments{/number}","issue_comment_url":"https://api.github.com/repos/shlee0605/congestion/issues/comments{/number}","contents_url":"https://api.github.com/repos/shlee0605/congestion/contents/{+path}","compare_url":"https://api.github.com/repos/shlee0605/congestion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shlee0605/congestion/merges","archive_url":"https://api.github.com/repos/shlee0605/congestion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shlee0605/congestion/downloads","issues_url":"https://api.github.com/repos/shlee0605/congestion/issues{/number}","pulls_url":"https://api.github.com/repos/shlee0605/congestion/pulls{/number}","milestones_url":"https://api.github.com/repos/shlee0605/congestion/milestones{/number}","notifications_url":"https://api.github.com/repos/shlee0605/congestion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shlee0605/congestion/labels{/name}","releases_url":"https://api.github.com/repos/shlee0605/congestion/releases{/id}","created_at":"2015-03-31T18:41:44Z","updated_at":"2015-04-08T17:09:54Z","pushed_at":"2015-04-09T00:05:55Z","git_url":"git://github.com/shlee0605/congestion.git","ssh_url":"git@github.com:shlee0605/congestion.git","clone_url":"https://github.com/shlee0605/congestion.git","svn_url":"https://github.com/shlee0605/congestion","homepage":null,"size":1809,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"shlee0605:master","ref":"master","sha":"dd4e9cafc4f066480442b22e6ff2373ea0681291","user":{"login":"shlee0605","id":2805921,"avatar_url":"https://avatars.githubusercontent.com/u/2805921?v=3","gravatar_id":"","url":"https://api.github.com/users/shlee0605","html_url":"https://github.com/shlee0605","followers_url":"https://api.github.com/users/shlee0605/followers","following_url":"https://api.github.com/users/shlee0605/following{/other_user}","gists_url":"https://api.github.com/users/shlee0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shlee0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlee0605/subscriptions","organizations_url":"https://api.github.com/users/shlee0605/orgs","repos_url":"https://api.github.com/users/shlee0605/repos","events_url":"https://api.github.com/users/shlee0605/events{/privacy}","received_events_url":"https://api.github.com/users/shlee0605/received_events","type":"User","site_admin":false},"repo":{"id":33203048,"name":"congestion","full_name":"shlee0605/congestion","owner":{"login":"shlee0605","id":2805921,"avatar_url":"https://avatars.githubusercontent.com/u/2805921?v=3","gravatar_id":"","url":"https://api.github.com/users/shlee0605","html_url":"https://github.com/shlee0605","followers_url":"https://api.github.com/users/shlee0605/followers","following_url":"https://api.github.com/users/shlee0605/following{/other_user}","gists_url":"https://api.github.com/users/shlee0605/gists{/gist_id}","starred_url":"https://api.github.com/users/shlee0605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlee0605/subscriptions","organizations_url":"https://api.github.com/users/shlee0605/orgs","repos_url":"https://api.github.com/users/shlee0605/repos","events_url":"https://api.github.com/users/shlee0605/events{/privacy}","received_events_url":"https://api.github.com/users/shlee0605/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shlee0605/congestion","description":"Project3 for CS356","fork":false,"url":"https://api.github.com/repos/shlee0605/congestion","forks_url":"https://api.github.com/repos/shlee0605/congestion/forks","keys_url":"https://api.github.com/repos/shlee0605/congestion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shlee0605/congestion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shlee0605/congestion/teams","hooks_url":"https://api.github.com/repos/shlee0605/congestion/hooks","issue_events_url":"https://api.github.com/repos/shlee0605/congestion/issues/events{/number}","events_url":"https://api.github.com/repos/shlee0605/congestion/events","assignees_url":"https://api.github.com/repos/shlee0605/congestion/assignees{/user}","branches_url":"https://api.github.com/repos/shlee0605/congestion/branches{/branch}","tags_url":"https://api.github.com/repos/shlee0605/congestion/tags","blobs_url":"https://api.github.com/repos/shlee0605/congestion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shlee0605/congestion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shlee0605/congestion/git/refs{/sha}","trees_url":"https://api.github.com/repos/shlee0605/congestion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shlee0605/congestion/statuses/{sha}","languages_url":"https://api.github.com/repos/shlee0605/congestion/languages","stargazers_url":"https://api.github.com/repos/shlee0605/congestion/stargazers","contributors_url":"https://api.github.com/repos/shlee0605/congestion/contributors","subscribers_url":"https://api.github.com/repos/shlee0605/congestion/subscribers","subscription_url":"https://api.github.com/repos/shlee0605/congestion/subscription","commits_url":"https://api.github.com/repos/shlee0605/congestion/commits{/sha}","git_commits_url":"https://api.github.com/repos/shlee0605/congestion/git/commits{/sha}","comments_url":"https://api.github.com/repos/shlee0605/congestion/comments{/number}","issue_comment_url":"https://api.github.com/repos/shlee0605/congestion/issues/comments{/number}","contents_url":"https://api.github.com/repos/shlee0605/congestion/contents/{+path}","compare_url":"https://api.github.com/repos/shlee0605/congestion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shlee0605/congestion/merges","archive_url":"https://api.github.com/repos/shlee0605/congestion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shlee0605/congestion/downloads","issues_url":"https://api.github.com/repos/shlee0605/congestion/issues{/number}","pulls_url":"https://api.github.com/repos/shlee0605/congestion/pulls{/number}","milestones_url":"https://api.github.com/repos/shlee0605/congestion/milestones{/number}","notifications_url":"https://api.github.com/repos/shlee0605/congestion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shlee0605/congestion/labels{/name}","releases_url":"https://api.github.com/repos/shlee0605/congestion/releases{/id}","created_at":"2015-03-31T18:41:44Z","updated_at":"2015-04-08T17:09:54Z","pushed_at":"2015-04-09T00:05:55Z","git_url":"git://github.com/shlee0605/congestion.git","ssh_url":"git@github.com:shlee0605/congestion.git","clone_url":"https://github.com/shlee0605/congestion.git","svn_url":"https://github.com/shlee0605/congestion","homepage":null,"size":1809,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/23"},"html":{"href":"https://github.com/shlee0605/congestion/pull/23"},"issue":{"href":"https://api.github.com/repos/shlee0605/congestion/issues/23"},"comments":{"href":"https://api.github.com/repos/shlee0605/congestion/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shlee0605/congestion/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/shlee0605/congestion/statuses/4c3b0cf66978b6271ee988acd8b74ad95f70915e"}}}}