{"action":"created","issue":{"url":"https://api.github.com/repos/nmap/nmap/issues/408","repository_url":"https://api.github.com/repos/nmap/nmap","labels_url":"https://api.github.com/repos/nmap/nmap/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/nmap/nmap/issues/408/comments","events_url":"https://api.github.com/repos/nmap/nmap/issues/408/events","html_url":"https://github.com/nmap/nmap/pull/408","id":159039964,"number":408,"title":"Support for reap flag","user":{"login":"tremblerz","id":10557215,"avatar_url":"https://avatars.githubusercontent.com/u/10557215?v=3","gravatar_id":"","url":"https://api.github.com/users/tremblerz","html_url":"https://github.com/tremblerz","followers_url":"https://api.github.com/users/tremblerz/followers","following_url":"https://api.github.com/users/tremblerz/following{/other_user}","gists_url":"https://api.github.com/users/tremblerz/gists{/gist_id}","starred_url":"https://api.github.com/users/tremblerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tremblerz/subscriptions","organizations_url":"https://api.github.com/users/tremblerz/orgs","repos_url":"https://api.github.com/users/tremblerz/repos","events_url":"https://api.github.com/users/tremblerz/events{/privacy}","received_events_url":"https://api.github.com/users/tremblerz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-07T22:31:37Z","updated_at":"2016-06-15T17:43:31Z","closed_at":"2016-06-15T17:43:31Z","pull_request":{"url":"https://api.github.com/repos/nmap/nmap/pulls/408","html_url":"https://github.com/nmap/nmap/pull/408","diff_url":"https://github.com/nmap/nmap/pull/408.diff","patch_url":"https://github.com/nmap/nmap/pull/408.patch"},"body":"So as discussed in [#407](https://github.com/nmap/nmap/issues/407), I have added reap flag here. Just one problem I got to see and that was how to return this flag by reference so instead, I passed the whole thread to the script and yes as predicted it works super fast in killing the worker threads created from inside of a script ( I tested it for http-slowloris ). But one more problem is there and that is how to return this flag for those worker threads which are getting created in `action()`"},"comment":{"url":"https://api.github.com/repos/nmap/nmap/issues/comments/226263942","html_url":"https://github.com/nmap/nmap/pull/408#issuecomment-226263942","issue_url":"https://api.github.com/repos/nmap/nmap/issues/408","id":226263942,"user":{"login":"tremblerz","id":10557215,"avatar_url":"https://avatars.githubusercontent.com/u/10557215?v=3","gravatar_id":"","url":"https://api.github.com/users/tremblerz","html_url":"https://github.com/tremblerz","followers_url":"https://api.github.com/users/tremblerz/followers","following_url":"https://api.github.com/users/tremblerz/following{/other_user}","gists_url":"https://api.github.com/users/tremblerz/gists{/gist_id}","starred_url":"https://api.github.com/users/tremblerz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tremblerz/subscriptions","organizations_url":"https://api.github.com/users/tremblerz/orgs","repos_url":"https://api.github.com/users/tremblerz/repos","events_url":"https://api.github.com/users/tremblerz/events{/privacy}","received_events_url":"https://api.github.com/users/tremblerz/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T17:43:31Z","updated_at":"2016-06-15T17:43:31Z","body":"As we have support for closing a thread using `thread:close()` we can use it to kill a thread from inside. Though this flag can be used to kill all of the child threads without the intervening of thread scheduler we might use it in future if need arises, for now I am closing this PR."}}
{"actor":{"display_login":"tremblerz"}}