{"action":"created","issue":{"url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/63","repository_url":"https://api.github.com/repos/tarantool/nginx_upstream_module","labels_url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/63/comments","events_url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/63/events","html_url":"https://github.com/tarantool/nginx_upstream_module/issues/63","id":176473932,"number":63,"title":"Probably Memory leak found","user":{"login":"Sulverus","id":1609170,"avatar_url":"https://avatars.githubusercontent.com/u/1609170?v=3","gravatar_id":"","url":"https://api.github.com/users/Sulverus","html_url":"https://github.com/Sulverus","followers_url":"https://api.github.com/users/Sulverus/followers","following_url":"https://api.github.com/users/Sulverus/following{/other_user}","gists_url":"https://api.github.com/users/Sulverus/gists{/gist_id}","starred_url":"https://api.github.com/users/Sulverus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sulverus/subscriptions","organizations_url":"https://api.github.com/users/Sulverus/orgs","repos_url":"https://api.github.com/users/Sulverus/repos","events_url":"https://api.github.com/users/Sulverus/events{/privacy}","received_events_url":"https://api.github.com/users/Sulverus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tarantool/nginx_upstream_module/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"dedok","id":1643154,"avatar_url":"https://avatars.githubusercontent.com/u/1643154?v=3","gravatar_id":"","url":"https://api.github.com/users/dedok","html_url":"https://github.com/dedok","followers_url":"https://api.github.com/users/dedok/followers","following_url":"https://api.github.com/users/dedok/following{/other_user}","gists_url":"https://api.github.com/users/dedok/gists{/gist_id}","starred_url":"https://api.github.com/users/dedok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedok/subscriptions","organizations_url":"https://api.github.com/users/dedok/orgs","repos_url":"https://api.github.com/users/dedok/repos","events_url":"https://api.github.com/users/dedok/events{/privacy}","received_events_url":"https://api.github.com/users/dedok/received_events","type":"User","site_admin":false},"assignees":[{"login":"dedok","id":1643154,"avatar_url":"https://avatars.githubusercontent.com/u/1643154?v=3","gravatar_id":"","url":"https://api.github.com/users/dedok","html_url":"https://github.com/dedok","followers_url":"https://api.github.com/users/dedok/followers","following_url":"https://api.github.com/users/dedok/following{/other_user}","gists_url":"https://api.github.com/users/dedok/gists{/gist_id}","starred_url":"https://api.github.com/users/dedok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedok/subscriptions","organizations_url":"https://api.github.com/users/dedok/orgs","repos_url":"https://api.github.com/users/dedok/repos","events_url":"https://api.github.com/users/dedok/events{/privacy}","received_events_url":"https://api.github.com/users/dedok/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-12T20:19:59Z","updated_at":"2016-09-12T20:39:13Z","closed_at":null,"body":"Config \r\n```\r\nif ( $request_method = GET ) {\r\n    tnt_method \"read\";\r\n}\r\nif ( $request_method = PUT ) {\r\n    tnt_method \"insert\";\r\n}\r\nif ( $request_method = POST ) {\r\n    tnt_method \"update\";\r\n}\r\nif ( $request_method = DELETE ) {\r\n    tnt_method \"delete\";\r\n}\r\ntnt_http_rest_methods get delete;\r\ntnt_http_methods all;\r\ntnt_multireturn_skip_count 2;\r\ntnt_pure_result on;\r\ntnt_pass_http_request on parse_args;\r\ntnt_pass tnt;\r\n```\r\n\r\nRequest\r\n```\r\nrequest('PUT', '/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2','{\"id\":0,\"params\":[{\"soc\":\"68ALLNVS2\",\"product_number\":2355574,\"description\":\"sd\", \"business_types\":[\"B2C\"], \"product_spec_characteristic_values\":{\"asd\":{\"value\":\"1123asda\"}}}]}')\r\n```\r\nLogging in tarantool:\r\n```\r\n-- nginx handler\r\nfunction insert(request, data)\r\n    log.info(yaml.encode(request))\r\n    log.info(yaml.encode(data))\r\n    --- some code...\r\nend\r\n```\r\n\r\nIn logs\r\n```\r\n2016-09-12 23:10:25.589 [22528] main/358/main I> --- {'method': 'PUT', 'uri': '/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n  'args': {}, 'proto': 'HTTP/1.1', 'headers': {'Bauth-token': 'KyitaIN9b7MgITEaEmoejZmCFPk/5EeU4JYFQuOcP0udhHOWcb7/gmXLVOOdogPJOcncM7GBaUnkZavWNkNVJcwX3ngbqC1euT7HReOlQrfI7Kyj0RqDvknV7cJFQvbPG2X2Ai/8vruvcsKQukaWMW0nBKceDyC2chmNct0qogD3JsCplWTfUaZztHTdGT1fP1hIBdqwdYzzx5W5T6Mwc25/hi+hCWmnxjdTtCzGP8DOQkSSYGvMKRNKPU38gMO+jpeVA2chK0vyLIUU/kcH0tRBb0tpQecdYRAdFVSoDpp+pnwrESfiRs3gOBHSAj+SPrpvRvu/1ZrFXpVEJAlNSQ==',\r\n    'Host': 'tst-ucpappl001.vimpelcom.ru', 'Connection': 'close', 'Content-length': '168',\r\n    'Te': 'trailers', 'Referer': 'http://tst-ucpappl001.vimpelcom.ru/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n    'User-agent': 'Tarantool http client'}}\r\n...\r\n\r\n2016-09-12 23:10:25.589 [22528] main/358/main I> --- {'PREP': 'product_spec_characteristic_values', 'product_number': 2355574, 'lines': [\r\n    {'method': 'PUT', 'uri': '/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n      'args': {}, 'proto': 'HTTP/1.1', 'headers': {'Bauth-token': 'KyitaIN9b7MgITEaEmoejZmCFPk/5EeU4JYFQuOcP0udhHOWcb7/gmXLVOOdogPJOcncM7GBaUnkZavWNkNVJcwX3ngbqC1euT7HReOlQrfI7Kyj0RqDvknV7cJFQvbPG2X2Ai/8vruvcsKQukaWMW0nBKceDyC2chmNct0qogD3JsCplWTfUaZztHTdGT1fP1hIBdqwdYzzx5W5T6Mwc25/hi+hCWmnxjdTtCzGP8DOQkSSYGvMKRNKPU38gMO+jpeVA2chK0vyLIUU/kcH0tRBb0tpQecdYRAdFVSoDpp+pnwrESfiRs3gOBHSAj+SPrpvRvu/1ZrFXpVEJAlNSQ==',\r\n        'Host': 'tst-ucpappl001.vimpelcom.ru', 'Connection': 'close', 'Content-length': '168',\r\n        'Te': 'trailers', 'Referer': 'http://tst-ucpappl001.vimpelcom.ru/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n        'User-agent': 'Tarantool http client'}}], 'soc': '68ALLNVS2', 'description': 'sd'}\r\n...\r\n\r\n```\r\n \r\n\r\nTotal:\r\ndata from nginx in tarantool\r\n```\r\n{'PREP': 'product_spec_characteristic_values', 'product_number': 2355574, 'lines': [\r\n    {'method': 'PUT', 'uri': '/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n      'args': {}, 'proto': 'HTTP/1.1', 'headers': {'Bauth-token': 'KyitaIN9b7MgITEaEmoejZmCFPk/5EeU4JYFQuOcP0udhHOWcb7/gmXLVOOdogPJOcncM7GBaUnkZavWNkNVJcwX3ngbqC1euT7HReOlQrfI7Kyj0RqDvknV7cJFQvbPG2X2Ai/8vruvcsKQukaWMW0nBKceDyC2chmNct0qogD3JsCplWTfUaZztHTdGT1fP1hIBdqwdYzzx5W5T6Mwc25/hi+hCWmnxjdTtCzGP8DOQkSSYGvMKRNKPU38gMO+jpeVA2chK0vyLIUU/kcH0tRBb0tpQecdYRAdFVSoDpp+pnwrESfiRs3gOBHSAj+SPrpvRvu/1ZrFXpVEJAlNSQ==',\r\n        'Host': 'tst-ucpappl001.vimpelcom.ru', 'Connection': 'close', 'Content-length': '168',\r\n        'Te': 'trailers', 'Referer': 'http://tst-ucpappl001.vimpelcom.ru/ucp/internal/0001/tnt:sh/dpc_po_cache/soc/68ALLNVS2',\r\n        'User-agent': 'Tarantool http client'}}], 'soc': '68ALLNVS2', 'description': 'sd'}\r\n```\r\n\r\nWaiting for\r\n```\r\n{\"soc\":\"68ALLNVS2\",\"product_number\":2355574,\"description\":\"sd\", \"business_types\":[\"B2C\"], \"product_spec_characteristic_values\":{\"asd\":{\"value\":\"1123asda\"}}}\r\n```\r\n\r\nSeems like memory leak"},"comment":{"url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/comments/246484599","html_url":"https://github.com/tarantool/nginx_upstream_module/issues/63#issuecomment-246484599","issue_url":"https://api.github.com/repos/tarantool/nginx_upstream_module/issues/63","id":246484599,"user":{"login":"dedok","id":1643154,"avatar_url":"https://avatars.githubusercontent.com/u/1643154?v=3","gravatar_id":"","url":"https://api.github.com/users/dedok","html_url":"https://github.com/dedok","followers_url":"https://api.github.com/users/dedok/followers","following_url":"https://api.github.com/users/dedok/following{/other_user}","gists_url":"https://api.github.com/users/dedok/gists{/gist_id}","starred_url":"https://api.github.com/users/dedok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dedok/subscriptions","organizations_url":"https://api.github.com/users/dedok/orgs","repos_url":"https://api.github.com/users/dedok/repos","events_url":"https://api.github.com/users/dedok/events{/privacy}","received_events_url":"https://api.github.com/users/dedok/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T20:39:12Z","updated_at":"2016-09-12T20:39:12Z","body":"\bThis is no a memory leak"}}
{"actor":{"display_login":"dedok"}}