{"action":"created","comment":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/comments/77626727","id":77626727,"diff_hunk":"@@ -428,6 +440,12 @@ VCLS_AddFd(struct VCLS *cs, int fdi, int fdo, cls_cb_f *closefunc, void *priv)\n \tcfd->cli->vlu = VLU_New(cfd, cls_vlu, *cs->maxlen);\n \tcfd->cli->sb = VSB_new_auto();\n \tcfd->cli->limit = cs->limit;\n+\tif (cs->ws_sz > 0) {\n+\t\tcfd->cli->ws = malloc(sizeof(*cfd->cli->ws));","path":"lib/libvarnish/vcli_serve.c","position":60,"original_position":60,"commit_id":"6989dcc5847c83efe039ac23d8d34e70dd8fd12d","original_commit_id":"26c11a46f6829f5081dbfc96078b0b50523b7c15","user":{"login":"nigoroll","id":1528104,"avatar_url":"https://avatars.githubusercontent.com/u/1528104?v=3","gravatar_id":"","url":"https://api.github.com/users/nigoroll","html_url":"https://github.com/nigoroll","followers_url":"https://api.github.com/users/nigoroll/followers","following_url":"https://api.github.com/users/nigoroll/following{/other_user}","gists_url":"https://api.github.com/users/nigoroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoroll/subscriptions","organizations_url":"https://api.github.com/users/nigoroll/orgs","repos_url":"https://api.github.com/users/nigoroll/repos","events_url":"https://api.github.com/users/nigoroll/events{/privacy}","received_events_url":"https://api.github.com/users/nigoroll/received_events","type":"User","site_admin":false},"body":"look at the calls to VCLS_New to understand it.","created_at":"2016-09-06T12:46:10Z","updated_at":"2016-09-06T12:46:10Z","html_url":"https://github.com/varnishcache/varnish-cache/pull/2076#discussion_r77626727","pull_request_url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076","_links":{"self":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/comments/77626727"},"html":{"href":"https://github.com/varnishcache/varnish-cache/pull/2076#discussion_r77626727"},"pull_request":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076"}}},"pull_request":{"url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076","id":84099523,"html_url":"https://github.com/varnishcache/varnish-cache/pull/2076","diff_url":"https://github.com/varnishcache/varnish-cache/pull/2076.diff","patch_url":"https://github.com/varnishcache/varnish-cache/pull/2076.patch","issue_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2076","number":2076,"state":"open","locked":false,"title":"add a workspace for calls into vcl from the cli thread","user":{"login":"nigoroll","id":1528104,"avatar_url":"https://avatars.githubusercontent.com/u/1528104?v=3","gravatar_id":"","url":"https://api.github.com/users/nigoroll","html_url":"https://github.com/nigoroll","followers_url":"https://api.github.com/users/nigoroll/followers","following_url":"https://api.github.com/users/nigoroll/following{/other_user}","gists_url":"https://api.github.com/users/nigoroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoroll/subscriptions","organizations_url":"https://api.github.com/users/nigoroll/orgs","repos_url":"https://api.github.com/users/nigoroll/repos","events_url":"https://api.github.com/users/nigoroll/events{/privacy}","received_events_url":"https://api.github.com/users/nigoroll/received_events","type":"User","site_admin":false},"body":"first commits are preparations to required code available outside cache\r\n\r\nRef: #2063 ","created_at":"2016-09-06T10:43:37Z","updated_at":"2016-09-06T12:46:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4578c7b402429adc48d81e01ea20457c32bad965","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076/commits","review_comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076/comments","review_comment_url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2076/comments","statuses_url":"https://api.github.com/repos/varnishcache/varnish-cache/statuses/6989dcc5847c83efe039ac23d8d34e70dd8fd12d","head":{"label":"nigoroll:cli_ctx_ws","ref":"cli_ctx_ws","sha":"6989dcc5847c83efe039ac23d8d34e70dd8fd12d","user":{"login":"nigoroll","id":1528104,"avatar_url":"https://avatars.githubusercontent.com/u/1528104?v=3","gravatar_id":"","url":"https://api.github.com/users/nigoroll","html_url":"https://github.com/nigoroll","followers_url":"https://api.github.com/users/nigoroll/followers","following_url":"https://api.github.com/users/nigoroll/following{/other_user}","gists_url":"https://api.github.com/users/nigoroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoroll/subscriptions","organizations_url":"https://api.github.com/users/nigoroll/orgs","repos_url":"https://api.github.com/users/nigoroll/repos","events_url":"https://api.github.com/users/nigoroll/events{/privacy}","received_events_url":"https://api.github.com/users/nigoroll/received_events","type":"User","site_admin":false},"repo":{"id":55689465,"name":"varnish-cache","full_name":"nigoroll/varnish-cache","owner":{"login":"nigoroll","id":1528104,"avatar_url":"https://avatars.githubusercontent.com/u/1528104?v=3","gravatar_id":"","url":"https://api.github.com/users/nigoroll","html_url":"https://github.com/nigoroll","followers_url":"https://api.github.com/users/nigoroll/followers","following_url":"https://api.github.com/users/nigoroll/following{/other_user}","gists_url":"https://api.github.com/users/nigoroll/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoroll/subscriptions","organizations_url":"https://api.github.com/users/nigoroll/orgs","repos_url":"https://api.github.com/users/nigoroll/repos","events_url":"https://api.github.com/users/nigoroll/events{/privacy}","received_events_url":"https://api.github.com/users/nigoroll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nigoroll/varnish-cache","description":"Varnish Cache source code repository. (authoritative)","fork":true,"url":"https://api.github.com/repos/nigoroll/varnish-cache","forks_url":"https://api.github.com/repos/nigoroll/varnish-cache/forks","keys_url":"https://api.github.com/repos/nigoroll/varnish-cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nigoroll/varnish-cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nigoroll/varnish-cache/teams","hooks_url":"https://api.github.com/repos/nigoroll/varnish-cache/hooks","issue_events_url":"https://api.github.com/repos/nigoroll/varnish-cache/issues/events{/number}","events_url":"https://api.github.com/repos/nigoroll/varnish-cache/events","assignees_url":"https://api.github.com/repos/nigoroll/varnish-cache/assignees{/user}","branches_url":"https://api.github.com/repos/nigoroll/varnish-cache/branches{/branch}","tags_url":"https://api.github.com/repos/nigoroll/varnish-cache/tags","blobs_url":"https://api.github.com/repos/nigoroll/varnish-cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nigoroll/varnish-cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nigoroll/varnish-cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/nigoroll/varnish-cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nigoroll/varnish-cache/statuses/{sha}","languages_url":"https://api.github.com/repos/nigoroll/varnish-cache/languages","stargazers_url":"https://api.github.com/repos/nigoroll/varnish-cache/stargazers","contributors_url":"https://api.github.com/repos/nigoroll/varnish-cache/contributors","subscribers_url":"https://api.github.com/repos/nigoroll/varnish-cache/subscribers","subscription_url":"https://api.github.com/repos/nigoroll/varnish-cache/subscription","commits_url":"https://api.github.com/repos/nigoroll/varnish-cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/nigoroll/varnish-cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/nigoroll/varnish-cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/nigoroll/varnish-cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/nigoroll/varnish-cache/contents/{+path}","compare_url":"https://api.github.com/repos/nigoroll/varnish-cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nigoroll/varnish-cache/merges","archive_url":"https://api.github.com/repos/nigoroll/varnish-cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nigoroll/varnish-cache/downloads","issues_url":"https://api.github.com/repos/nigoroll/varnish-cache/issues{/number}","pulls_url":"https://api.github.com/repos/nigoroll/varnish-cache/pulls{/number}","milestones_url":"https://api.github.com/repos/nigoroll/varnish-cache/milestones{/number}","notifications_url":"https://api.github.com/repos/nigoroll/varnish-cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nigoroll/varnish-cache/labels{/name}","releases_url":"https://api.github.com/repos/nigoroll/varnish-cache/releases{/id}","deployments_url":"https://api.github.com/repos/nigoroll/varnish-cache/deployments","created_at":"2016-04-07T11:33:07Z","updated_at":"2016-04-07T11:33:09Z","pushed_at":"2016-09-06T12:11:14Z","git_url":"git://github.com/nigoroll/varnish-cache.git","ssh_url":"git@github.com:nigoroll/varnish-cache.git","clone_url":"https://github.com/nigoroll/varnish-cache.git","svn_url":"https://github.com/nigoroll/varnish-cache","homepage":"https://www.varnish-cache.org","size":16878,"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":"varnishcache:master","ref":"master","sha":"eb8b4ee11724f42cec06bad5f21401a4be8b8f5d","user":{"login":"varnishcache","id":14977495,"avatar_url":"https://avatars.githubusercontent.com/u/14977495?v=3","gravatar_id":"","url":"https://api.github.com/users/varnishcache","html_url":"https://github.com/varnishcache","followers_url":"https://api.github.com/users/varnishcache/followers","following_url":"https://api.github.com/users/varnishcache/following{/other_user}","gists_url":"https://api.github.com/users/varnishcache/gists{/gist_id}","starred_url":"https://api.github.com/users/varnishcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varnishcache/subscriptions","organizations_url":"https://api.github.com/users/varnishcache/orgs","repos_url":"https://api.github.com/users/varnishcache/repos","events_url":"https://api.github.com/users/varnishcache/events{/privacy}","received_events_url":"https://api.github.com/users/varnishcache/received_events","type":"Organization","site_admin":false},"repo":{"id":43681824,"name":"varnish-cache","full_name":"varnishcache/varnish-cache","owner":{"login":"varnishcache","id":14977495,"avatar_url":"https://avatars.githubusercontent.com/u/14977495?v=3","gravatar_id":"","url":"https://api.github.com/users/varnishcache","html_url":"https://github.com/varnishcache","followers_url":"https://api.github.com/users/varnishcache/followers","following_url":"https://api.github.com/users/varnishcache/following{/other_user}","gists_url":"https://api.github.com/users/varnishcache/gists{/gist_id}","starred_url":"https://api.github.com/users/varnishcache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varnishcache/subscriptions","organizations_url":"https://api.github.com/users/varnishcache/orgs","repos_url":"https://api.github.com/users/varnishcache/repos","events_url":"https://api.github.com/users/varnishcache/events{/privacy}","received_events_url":"https://api.github.com/users/varnishcache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/varnishcache/varnish-cache","description":"Varnish Cache source code repository","fork":false,"url":"https://api.github.com/repos/varnishcache/varnish-cache","forks_url":"https://api.github.com/repos/varnishcache/varnish-cache/forks","keys_url":"https://api.github.com/repos/varnishcache/varnish-cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varnishcache/varnish-cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varnishcache/varnish-cache/teams","hooks_url":"https://api.github.com/repos/varnishcache/varnish-cache/hooks","issue_events_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/events{/number}","events_url":"https://api.github.com/repos/varnishcache/varnish-cache/events","assignees_url":"https://api.github.com/repos/varnishcache/varnish-cache/assignees{/user}","branches_url":"https://api.github.com/repos/varnishcache/varnish-cache/branches{/branch}","tags_url":"https://api.github.com/repos/varnishcache/varnish-cache/tags","blobs_url":"https://api.github.com/repos/varnishcache/varnish-cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varnishcache/varnish-cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varnishcache/varnish-cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/varnishcache/varnish-cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varnishcache/varnish-cache/statuses/{sha}","languages_url":"https://api.github.com/repos/varnishcache/varnish-cache/languages","stargazers_url":"https://api.github.com/repos/varnishcache/varnish-cache/stargazers","contributors_url":"https://api.github.com/repos/varnishcache/varnish-cache/contributors","subscribers_url":"https://api.github.com/repos/varnishcache/varnish-cache/subscribers","subscription_url":"https://api.github.com/repos/varnishcache/varnish-cache/subscription","commits_url":"https://api.github.com/repos/varnishcache/varnish-cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/varnishcache/varnish-cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/varnishcache/varnish-cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/varnishcache/varnish-cache/contents/{+path}","compare_url":"https://api.github.com/repos/varnishcache/varnish-cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varnishcache/varnish-cache/merges","archive_url":"https://api.github.com/repos/varnishcache/varnish-cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varnishcache/varnish-cache/downloads","issues_url":"https://api.github.com/repos/varnishcache/varnish-cache/issues{/number}","pulls_url":"https://api.github.com/repos/varnishcache/varnish-cache/pulls{/number}","milestones_url":"https://api.github.com/repos/varnishcache/varnish-cache/milestones{/number}","notifications_url":"https://api.github.com/repos/varnishcache/varnish-cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varnishcache/varnish-cache/labels{/name}","releases_url":"https://api.github.com/repos/varnishcache/varnish-cache/releases{/id}","deployments_url":"https://api.github.com/repos/varnishcache/varnish-cache/deployments","created_at":"2015-10-05T12:04:36Z","updated_at":"2016-09-03T23:49:20Z","pushed_at":"2016-09-06T12:11:15Z","git_url":"git://github.com/varnishcache/varnish-cache.git","ssh_url":"git@github.com:varnishcache/varnish-cache.git","clone_url":"https://github.com/varnishcache/varnish-cache.git","svn_url":"https://github.com/varnishcache/varnish-cache","homepage":"https://www.varnish-cache.org","size":17314,"stargazers_count":241,"watchers_count":241,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":71,"forks":53,"open_issues":71,"watchers":241,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076"},"html":{"href":"https://github.com/varnishcache/varnish-cache/pull/2076"},"issue":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2076"},"comments":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/issues/2076/comments"},"review_comments":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076/comments"},"review_comment":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/pulls/2076/commits"},"statuses":{"href":"https://api.github.com/repos/varnishcache/varnish-cache/statuses/6989dcc5847c83efe039ac23d8d34e70dd8fd12d"}}}}
{"actor":{"display_login":"nigoroll"}}