{"action":"opened","number":240,"pull_request":{"url":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240","id":67379854,"html_url":"https://github.com/dinhviethoa/libetpan/pull/240","diff_url":"https://github.com/dinhviethoa/libetpan/pull/240.diff","patch_url":"https://github.com/dinhviethoa/libetpan/pull/240.patch","issue_url":"https://api.github.com/repos/dinhviethoa/libetpan/issues/240","number":240,"state":"open","locked":false,"title":"Workaround issue with Rambler IMAP provider.","user":{"login":"disaykin","id":103615,"avatar_url":"https://avatars.githubusercontent.com/u/103615?v=3","gravatar_id":"","url":"https://api.github.com/users/disaykin","html_url":"https://github.com/disaykin","followers_url":"https://api.github.com/users/disaykin/followers","following_url":"https://api.github.com/users/disaykin/following{/other_user}","gists_url":"https://api.github.com/users/disaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/disaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disaykin/subscriptions","organizations_url":"https://api.github.com/users/disaykin/orgs","repos_url":"https://api.github.com/users/disaykin/repos","events_url":"https://api.github.com/users/disaykin/events{/privacy}","received_events_url":"https://api.github.com/users/disaykin/received_events","type":"User","site_admin":false},"body":"Occasionally, for large attachments (~20MB) Rambler returns wrong length of the literal.\r\n\r\nSee example below (real example attached):\r\n\r\nC: 1 UID FETCH 2 BODY.PEEK[2]\r\nS: * 140 FETCH (BODY[2] {100}\\r\\n\r\n     123456789 UID 2)\\r\\n\r\nS: 1 OK completed\\r\\n\r\n\r\nAs you can see server states '100' as a length of the literal, but provides only 9 bytes.\r\n\r\nMailcore2 awaits exactly '100' bytes and ignores the fact that server has completed his response.\r\n\r\nTwo issues arise in result:\r\n\r\n* Response will not be parsed as it's size < 100 bytes. Mailcore2 will wait for the remaining bytes with no result and block one connection from the pool for 30 seconds (timeout).\r\n* Number of subsequent requests with urgent=NO may be placed into hanged connection queue.","created_at":"2016-04-21T16:01:43Z","updated_at":"2016-04-21T16:01:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240/commits","review_comments_url":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240/comments","review_comment_url":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dinhviethoa/libetpan/issues/240/comments","statuses_url":"https://api.github.com/repos/dinhviethoa/libetpan/statuses/344d2b80347dc4c201b3625d42e4f8ee345f949d","head":{"label":"disaykin:master","ref":"master","sha":"344d2b80347dc4c201b3625d42e4f8ee345f949d","user":{"login":"disaykin","id":103615,"avatar_url":"https://avatars.githubusercontent.com/u/103615?v=3","gravatar_id":"","url":"https://api.github.com/users/disaykin","html_url":"https://github.com/disaykin","followers_url":"https://api.github.com/users/disaykin/followers","following_url":"https://api.github.com/users/disaykin/following{/other_user}","gists_url":"https://api.github.com/users/disaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/disaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disaykin/subscriptions","organizations_url":"https://api.github.com/users/disaykin/orgs","repos_url":"https://api.github.com/users/disaykin/repos","events_url":"https://api.github.com/users/disaykin/events{/privacy}","received_events_url":"https://api.github.com/users/disaykin/received_events","type":"User","site_admin":false},"repo":{"id":49635300,"name":"libetpan","full_name":"disaykin/libetpan","owner":{"login":"disaykin","id":103615,"avatar_url":"https://avatars.githubusercontent.com/u/103615?v=3","gravatar_id":"","url":"https://api.github.com/users/disaykin","html_url":"https://github.com/disaykin","followers_url":"https://api.github.com/users/disaykin/followers","following_url":"https://api.github.com/users/disaykin/following{/other_user}","gists_url":"https://api.github.com/users/disaykin/gists{/gist_id}","starred_url":"https://api.github.com/users/disaykin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disaykin/subscriptions","organizations_url":"https://api.github.com/users/disaykin/orgs","repos_url":"https://api.github.com/users/disaykin/repos","events_url":"https://api.github.com/users/disaykin/events{/privacy}","received_events_url":"https://api.github.com/users/disaykin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/disaykin/libetpan","description":"Mail Framework for C Language","fork":true,"url":"https://api.github.com/repos/disaykin/libetpan","forks_url":"https://api.github.com/repos/disaykin/libetpan/forks","keys_url":"https://api.github.com/repos/disaykin/libetpan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/disaykin/libetpan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/disaykin/libetpan/teams","hooks_url":"https://api.github.com/repos/disaykin/libetpan/hooks","issue_events_url":"https://api.github.com/repos/disaykin/libetpan/issues/events{/number}","events_url":"https://api.github.com/repos/disaykin/libetpan/events","assignees_url":"https://api.github.com/repos/disaykin/libetpan/assignees{/user}","branches_url":"https://api.github.com/repos/disaykin/libetpan/branches{/branch}","tags_url":"https://api.github.com/repos/disaykin/libetpan/tags","blobs_url":"https://api.github.com/repos/disaykin/libetpan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/disaykin/libetpan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/disaykin/libetpan/git/refs{/sha}","trees_url":"https://api.github.com/repos/disaykin/libetpan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/disaykin/libetpan/statuses/{sha}","languages_url":"https://api.github.com/repos/disaykin/libetpan/languages","stargazers_url":"https://api.github.com/repos/disaykin/libetpan/stargazers","contributors_url":"https://api.github.com/repos/disaykin/libetpan/contributors","subscribers_url":"https://api.github.com/repos/disaykin/libetpan/subscribers","subscription_url":"https://api.github.com/repos/disaykin/libetpan/subscription","commits_url":"https://api.github.com/repos/disaykin/libetpan/commits{/sha}","git_commits_url":"https://api.github.com/repos/disaykin/libetpan/git/commits{/sha}","comments_url":"https://api.github.com/repos/disaykin/libetpan/comments{/number}","issue_comment_url":"https://api.github.com/repos/disaykin/libetpan/issues/comments{/number}","contents_url":"https://api.github.com/repos/disaykin/libetpan/contents/{+path}","compare_url":"https://api.github.com/repos/disaykin/libetpan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/disaykin/libetpan/merges","archive_url":"https://api.github.com/repos/disaykin/libetpan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/disaykin/libetpan/downloads","issues_url":"https://api.github.com/repos/disaykin/libetpan/issues{/number}","pulls_url":"https://api.github.com/repos/disaykin/libetpan/pulls{/number}","milestones_url":"https://api.github.com/repos/disaykin/libetpan/milestones{/number}","notifications_url":"https://api.github.com/repos/disaykin/libetpan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/disaykin/libetpan/labels{/name}","releases_url":"https://api.github.com/repos/disaykin/libetpan/releases{/id}","deployments_url":"https://api.github.com/repos/disaykin/libetpan/deployments","created_at":"2016-01-14T08:58:20Z","updated_at":"2016-01-14T08:58:22Z","pushed_at":"2016-04-21T15:58:21Z","git_url":"git://github.com/disaykin/libetpan.git","ssh_url":"git@github.com:disaykin/libetpan.git","clone_url":"https://github.com/disaykin/libetpan.git","svn_url":"https://github.com/disaykin/libetpan","homepage":"www.etpan.org","size":8713,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"dinhviethoa:master","ref":"master","sha":"e2105da822eec41aab05bc2e2cffbbd60bd9a757","user":{"login":"dinhviethoa","id":332168,"avatar_url":"https://avatars.githubusercontent.com/u/332168?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhviethoa","html_url":"https://github.com/dinhviethoa","followers_url":"https://api.github.com/users/dinhviethoa/followers","following_url":"https://api.github.com/users/dinhviethoa/following{/other_user}","gists_url":"https://api.github.com/users/dinhviethoa/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhviethoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhviethoa/subscriptions","organizations_url":"https://api.github.com/users/dinhviethoa/orgs","repos_url":"https://api.github.com/users/dinhviethoa/repos","events_url":"https://api.github.com/users/dinhviethoa/events{/privacy}","received_events_url":"https://api.github.com/users/dinhviethoa/received_events","type":"User","site_admin":false},"repo":{"id":2061133,"name":"libetpan","full_name":"dinhviethoa/libetpan","owner":{"login":"dinhviethoa","id":332168,"avatar_url":"https://avatars.githubusercontent.com/u/332168?v=3","gravatar_id":"","url":"https://api.github.com/users/dinhviethoa","html_url":"https://github.com/dinhviethoa","followers_url":"https://api.github.com/users/dinhviethoa/followers","following_url":"https://api.github.com/users/dinhviethoa/following{/other_user}","gists_url":"https://api.github.com/users/dinhviethoa/gists{/gist_id}","starred_url":"https://api.github.com/users/dinhviethoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinhviethoa/subscriptions","organizations_url":"https://api.github.com/users/dinhviethoa/orgs","repos_url":"https://api.github.com/users/dinhviethoa/repos","events_url":"https://api.github.com/users/dinhviethoa/events{/privacy}","received_events_url":"https://api.github.com/users/dinhviethoa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinhviethoa/libetpan","description":"Mail Framework for C Language","fork":false,"url":"https://api.github.com/repos/dinhviethoa/libetpan","forks_url":"https://api.github.com/repos/dinhviethoa/libetpan/forks","keys_url":"https://api.github.com/repos/dinhviethoa/libetpan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinhviethoa/libetpan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinhviethoa/libetpan/teams","hooks_url":"https://api.github.com/repos/dinhviethoa/libetpan/hooks","issue_events_url":"https://api.github.com/repos/dinhviethoa/libetpan/issues/events{/number}","events_url":"https://api.github.com/repos/dinhviethoa/libetpan/events","assignees_url":"https://api.github.com/repos/dinhviethoa/libetpan/assignees{/user}","branches_url":"https://api.github.com/repos/dinhviethoa/libetpan/branches{/branch}","tags_url":"https://api.github.com/repos/dinhviethoa/libetpan/tags","blobs_url":"https://api.github.com/repos/dinhviethoa/libetpan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinhviethoa/libetpan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinhviethoa/libetpan/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinhviethoa/libetpan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinhviethoa/libetpan/statuses/{sha}","languages_url":"https://api.github.com/repos/dinhviethoa/libetpan/languages","stargazers_url":"https://api.github.com/repos/dinhviethoa/libetpan/stargazers","contributors_url":"https://api.github.com/repos/dinhviethoa/libetpan/contributors","subscribers_url":"https://api.github.com/repos/dinhviethoa/libetpan/subscribers","subscription_url":"https://api.github.com/repos/dinhviethoa/libetpan/subscription","commits_url":"https://api.github.com/repos/dinhviethoa/libetpan/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinhviethoa/libetpan/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinhviethoa/libetpan/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinhviethoa/libetpan/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinhviethoa/libetpan/contents/{+path}","compare_url":"https://api.github.com/repos/dinhviethoa/libetpan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinhviethoa/libetpan/merges","archive_url":"https://api.github.com/repos/dinhviethoa/libetpan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinhviethoa/libetpan/downloads","issues_url":"https://api.github.com/repos/dinhviethoa/libetpan/issues{/number}","pulls_url":"https://api.github.com/repos/dinhviethoa/libetpan/pulls{/number}","milestones_url":"https://api.github.com/repos/dinhviethoa/libetpan/milestones{/number}","notifications_url":"https://api.github.com/repos/dinhviethoa/libetpan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinhviethoa/libetpan/labels{/name}","releases_url":"https://api.github.com/repos/dinhviethoa/libetpan/releases{/id}","deployments_url":"https://api.github.com/repos/dinhviethoa/libetpan/deployments","created_at":"2011-07-17T09:20:55Z","updated_at":"2016-04-18T08:54:05Z","pushed_at":"2016-03-30T19:56:05Z","git_url":"git://github.com/dinhviethoa/libetpan.git","ssh_url":"git@github.com:dinhviethoa/libetpan.git","clone_url":"https://github.com/dinhviethoa/libetpan.git","svn_url":"https://github.com/dinhviethoa/libetpan","homepage":"www.etpan.org","size":9777,"stargazers_count":381,"watchers_count":381,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":161,"mirror_url":null,"open_issues_count":17,"forks":161,"open_issues":17,"watchers":381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240"},"html":{"href":"https://github.com/dinhviethoa/libetpan/pull/240"},"issue":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/issues/240"},"comments":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/dinhviethoa/libetpan/statuses/344d2b80347dc4c201b3625d42e4f8ee345f949d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":39,"changed_files":3}}