{"action":"opened","issue":{"url":"https://api.github.com/repos/processone/tsung/issues/204","repository_url":"https://api.github.com/repos/processone/tsung","labels_url":"https://api.github.com/repos/processone/tsung/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/processone/tsung/issues/204/comments","events_url":"https://api.github.com/repos/processone/tsung/issues/204/events","html_url":"https://github.com/processone/tsung/issues/204","id":179409516,"number":204,"title":"Timeout won't apply unless something happen to socket","user":{"login":"reith","id":1660345,"avatar_url":"https://avatars.githubusercontent.com/u/1660345?v=3","gravatar_id":"","url":"https://api.github.com/users/reith","html_url":"https://github.com/reith","followers_url":"https://api.github.com/users/reith/followers","following_url":"https://api.github.com/users/reith/following{/other_user}","gists_url":"https://api.github.com/users/reith/gists{/gist_id}","starred_url":"https://api.github.com/users/reith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reith/subscriptions","organizations_url":"https://api.github.com/users/reith/orgs","repos_url":"https://api.github.com/users/reith/repos","events_url":"https://api.github.com/users/reith/events{/privacy}","received_events_url":"https://api.github.com/users/reith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T06:43:58Z","updated_at":"2016-09-27T06:43:58Z","closed_at":null,"body":"I had an issue with timeout being not applied which is discussed in [this thread](http://lists.process-one.net/pipermail/tsung-users/2016-September/003533.html).  My case is a DNS stress loader [hosted here](https://github.com/reith/tsung_dns).\r\n\r\nThe problem is ts_client checks timeout always after `handle_data_msg` that I think (by [this line](https://github.com/processone/tsung/blob/master/src/tsung/ts_client.erl#L241) but not sure about [this](https://github.com/processone/tsung/blob/master/src/tsung/ts_client.erl#L212)) would happen just when some message got from socket.  This may never happen for a UDP socket.\r\n\r\nI think there should be a timer in ts_client itself to send timeout message after `idle_timeout` or `global_ack_timeout`."}}
{"actor":{"display_login":"reith"}}