{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/busybox/issues/44","repository_url":"https://api.github.com/repos/docker-library/busybox","labels_url":"https://api.github.com/repos/docker-library/busybox/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/busybox/issues/44/comments","events_url":"https://api.github.com/repos/docker-library/busybox/issues/44/events","html_url":"https://github.com/docker-library/busybox/issues/44","id":294608909,"number":44,"title":"nc server does not quit on client disconnection","user":{"login":"bergwolf","id":88972,"avatar_url":"https://avatars0.githubusercontent.com/u/88972?v=4","gravatar_id":"","url":"https://api.github.com/users/bergwolf","html_url":"https://github.com/bergwolf","followers_url":"https://api.github.com/users/bergwolf/followers","following_url":"https://api.github.com/users/bergwolf/following{/other_user}","gists_url":"https://api.github.com/users/bergwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/bergwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergwolf/subscriptions","organizations_url":"https://api.github.com/users/bergwolf/orgs","repos_url":"https://api.github.com/users/bergwolf/repos","events_url":"https://api.github.com/users/bergwolf/events{/privacy}","received_events_url":"https://api.github.com/users/bergwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-06T02:14:41Z","updated_at":"2018-02-06T04:46:58Z","closed_at":"2018-02-06T04:46:58Z","author_association":"NONE","body":"If we run nc in listen mode w/o the `-k` option, it is supposed to only serve one client and quit when the client disconnects. However, in latest version of the busybox image (`1.28.0`, image id `5b0d59026729`), the listen mode nc does not quit in such case:\r\n\r\n### Reproducer\r\nIn one terminal, start nc in listen mode,\r\n```\r\n$docker run -it --rm --name nctest busybox sh -c 'nc -l -p 1300'\r\n```\r\nIn another terminal, connect and quit,\r\n```\r\n$docker exec nctest nc localhost 1300\r\n^C\r\n```\r\n### Expected Results\r\nThe `nctest` container in the first terminal is supposed to quit, but it doesn't.\r\n\r\nIt was working with older version of busybox (e.g., hash tag `efe10ee6727f`) but the current `latest` fails to quit."},"comment":{"url":"https://api.github.com/repos/docker-library/busybox/issues/comments/363309788","html_url":"https://github.com/docker-library/busybox/issues/44#issuecomment-363309788","issue_url":"https://api.github.com/repos/docker-library/busybox/issues/44","id":363309788,"user":{"login":"tianon","id":161631,"avatar_url":"https://avatars1.githubusercontent.com/u/161631?v=4","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T04:46:58Z","updated_at":"2018-02-06T04:46:58Z","author_association":"OWNER","body":"Awesome, thanks teawater!\r\n\r\n(Closing since this is an upstream bug, not something we can fix in the image. 👍)"}}
{"actor":{"display_login":"tianon"}}