{"action":"created","comment":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/comments/37867903","id":37867903,"diff_hunk":"@@ -186,6 +190,16 @@ public NettyServerBuilder flowControlWindow(int flowControlWindow) {\n     return this;\n   }\n \n+  /**\n+   * Sets the maximum message size allowed to be received on the server. If not called,\n+   * defaults to 100 MiB.\n+   */\n+  public NettyServerBuilder maxMessageSize(int maxMessageSize) {\n+    checkArgument(maxMessageSize > 0, \"maxMessageSize must be positive\");","path":"netty/src/main/java/io/grpc/netty/NettyServerBuilder.java","position":27,"original_position":27,"commit_id":"003c3bc24a517983315fa9aba94d73902f9e81d7","original_commit_id":"457ee99e9aa7a89dad5d365cd9b50a41e1dfe2ef","user":{"login":"nmittler","id":6493296,"avatar_url":"https://avatars.githubusercontent.com/u/6493296?v=3","gravatar_id":"","url":"https://api.github.com/users/nmittler","html_url":"https://github.com/nmittler","followers_url":"https://api.github.com/users/nmittler/followers","following_url":"https://api.github.com/users/nmittler/following{/other_user}","gists_url":"https://api.github.com/users/nmittler/gists{/gist_id}","starred_url":"https://api.github.com/users/nmittler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmittler/subscriptions","organizations_url":"https://api.github.com/users/nmittler/orgs","repos_url":"https://api.github.com/users/nmittler/repos","events_url":"https://api.github.com/users/nmittler/events{/privacy}","received_events_url":"https://api.github.com/users/nmittler/received_events","type":"User","site_admin":false},"body":"done.","created_at":"2015-08-25T14:01:37Z","updated_at":"2015-08-25T14:01:37Z","html_url":"https://github.com/grpc/grpc-java/pull/861#discussion_r37867903","pull_request_url":"https://api.github.com/repos/grpc/grpc-java/pulls/861","_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/comments/37867903"},"html":{"href":"https://github.com/grpc/grpc-java/pull/861#discussion_r37867903"},"pull_request":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/861"}}},"pull_request":{"url":"https://api.github.com/repos/grpc/grpc-java/pulls/861","id":43196609,"html_url":"https://github.com/grpc/grpc-java/pull/861","diff_url":"https://github.com/grpc/grpc-java/pull/861.diff","patch_url":"https://github.com/grpc/grpc-java/pull/861.patch","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/861","number":861,"state":"open","locked":false,"title":"Adding maxMessageSize config option","user":{"login":"nmittler","id":6493296,"avatar_url":"https://avatars.githubusercontent.com/u/6493296?v=3","gravatar_id":"","url":"https://api.github.com/users/nmittler","html_url":"https://github.com/nmittler","followers_url":"https://api.github.com/users/nmittler/followers","following_url":"https://api.github.com/users/nmittler/following{/other_user}","gists_url":"https://api.github.com/users/nmittler/gists{/gist_id}","starred_url":"https://api.github.com/users/nmittler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmittler/subscriptions","organizations_url":"https://api.github.com/users/nmittler/orgs","repos_url":"https://api.github.com/users/nmittler/repos","events_url":"https://api.github.com/users/nmittler/events{/privacy}","received_events_url":"https://api.github.com/users/nmittler/received_events","type":"User","site_admin":false},"body":"Fixes #832","created_at":"2015-08-24T16:54:58Z","updated_at":"2015-08-25T14:01:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"146e7214f4ef7f97bb17d2cdad28e56f9ce427b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc-java/pulls/861/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc-java/pulls/861/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/861/comments","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/003c3bc24a517983315fa9aba94d73902f9e81d7","head":{"label":"nmittler:max_msg_size","ref":"max_msg_size","sha":"003c3bc24a517983315fa9aba94d73902f9e81d7","user":{"login":"nmittler","id":6493296,"avatar_url":"https://avatars.githubusercontent.com/u/6493296?v=3","gravatar_id":"","url":"https://api.github.com/users/nmittler","html_url":"https://github.com/nmittler","followers_url":"https://api.github.com/users/nmittler/followers","following_url":"https://api.github.com/users/nmittler/following{/other_user}","gists_url":"https://api.github.com/users/nmittler/gists{/gist_id}","starred_url":"https://api.github.com/users/nmittler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmittler/subscriptions","organizations_url":"https://api.github.com/users/nmittler/orgs","repos_url":"https://api.github.com/users/nmittler/repos","events_url":"https://api.github.com/users/nmittler/events{/privacy}","received_events_url":"https://api.github.com/users/nmittler/received_events","type":"User","site_admin":false},"repo":{"id":31379300,"name":"grpc-java","full_name":"nmittler/grpc-java","owner":{"login":"nmittler","id":6493296,"avatar_url":"https://avatars.githubusercontent.com/u/6493296?v=3","gravatar_id":"","url":"https://api.github.com/users/nmittler","html_url":"https://github.com/nmittler","followers_url":"https://api.github.com/users/nmittler/followers","following_url":"https://api.github.com/users/nmittler/following{/other_user}","gists_url":"https://api.github.com/users/nmittler/gists{/gist_id}","starred_url":"https://api.github.com/users/nmittler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmittler/subscriptions","organizations_url":"https://api.github.com/users/nmittler/orgs","repos_url":"https://api.github.com/users/nmittler/repos","events_url":"https://api.github.com/users/nmittler/events{/privacy}","received_events_url":"https://api.github.com/users/nmittler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmittler/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":true,"url":"https://api.github.com/repos/nmittler/grpc-java","forks_url":"https://api.github.com/repos/nmittler/grpc-java/forks","keys_url":"https://api.github.com/repos/nmittler/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmittler/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmittler/grpc-java/teams","hooks_url":"https://api.github.com/repos/nmittler/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/nmittler/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/nmittler/grpc-java/events","assignees_url":"https://api.github.com/repos/nmittler/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/nmittler/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/nmittler/grpc-java/tags","blobs_url":"https://api.github.com/repos/nmittler/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmittler/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmittler/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmittler/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmittler/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/nmittler/grpc-java/languages","stargazers_url":"https://api.github.com/repos/nmittler/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/nmittler/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/nmittler/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/nmittler/grpc-java/subscription","commits_url":"https://api.github.com/repos/nmittler/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmittler/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmittler/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmittler/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmittler/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/nmittler/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmittler/grpc-java/merges","archive_url":"https://api.github.com/repos/nmittler/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmittler/grpc-java/downloads","issues_url":"https://api.github.com/repos/nmittler/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/nmittler/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/nmittler/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/nmittler/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmittler/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/nmittler/grpc-java/releases{/id}","created_at":"2015-02-26T17:29:20Z","updated_at":"2015-03-03T21:47:37Z","pushed_at":"2015-08-24T20:49:40Z","git_url":"git://github.com/nmittler/grpc-java.git","ssh_url":"git@github.com:nmittler/grpc-java.git","clone_url":"https://github.com/nmittler/grpc-java.git","svn_url":"https://github.com/nmittler/grpc-java","homepage":"","size":4121,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grpc:master","ref":"master","sha":"37b1a8c6d9a9dd897d91b945d60df4ab57802a2c","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729926,"name":"grpc-java","full_name":"grpc/grpc-java","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc-java","description":"The Java gRPC implementation. HTTP/2 based RPC","fork":false,"url":"https://api.github.com/repos/grpc/grpc-java","forks_url":"https://api.github.com/repos/grpc/grpc-java/forks","keys_url":"https://api.github.com/repos/grpc/grpc-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc-java/teams","hooks_url":"https://api.github.com/repos/grpc/grpc-java/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc-java/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc-java/events","assignees_url":"https://api.github.com/repos/grpc/grpc-java/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc-java/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc-java/tags","blobs_url":"https://api.github.com/repos/grpc/grpc-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc-java/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc-java/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc-java/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc-java/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc-java/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc-java/subscription","commits_url":"https://api.github.com/repos/grpc/grpc-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc-java/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc-java/merges","archive_url":"https://api.github.com/repos/grpc/grpc-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc-java/downloads","issues_url":"https://api.github.com/repos/grpc/grpc-java/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc-java/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc-java/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc-java/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc-java/releases{/id}","created_at":"2014-12-08T19:00:00Z","updated_at":"2015-08-25T08:25:27Z","pushed_at":"2015-08-25T02:45:05Z","git_url":"git://github.com/grpc/grpc-java.git","ssh_url":"git@github.com:grpc/grpc-java.git","clone_url":"https://github.com/grpc/grpc-java.git","svn_url":"https://github.com/grpc/grpc-java","homepage":"","size":22023,"stargazers_count":838,"watchers_count":838,"language":"Java","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":198,"mirror_url":null,"open_issues_count":105,"forks":198,"open_issues":105,"watchers":838,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/861"},"html":{"href":"https://github.com/grpc/grpc-java/pull/861"},"issue":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/861"},"comments":{"href":"https://api.github.com/repos/grpc/grpc-java/issues/861/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/861/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc-java/pulls/861/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc-java/statuses/003c3bc24a517983315fa9aba94d73902f9e81d7"}}}}