{"comment":{"url":"https://api.github.com/repos/igniterealtime/Smack/comments/9158803","html_url":"https://github.com/igniterealtime/Smack/commit/0408d075b721c056db91911a1a1a718867430cbc#commitcomment-9158803","id":9158803,"user":{"login":"aburkj","id":10406023,"avatar_url":"https://avatars.githubusercontent.com/u/10406023?v=3","gravatar_id":"","url":"https://api.github.com/users/aburkj","html_url":"https://github.com/aburkj","followers_url":"https://api.github.com/users/aburkj/followers","following_url":"https://api.github.com/users/aburkj/following{/other_user}","gists_url":"https://api.github.com/users/aburkj/gists{/gist_id}","starred_url":"https://api.github.com/users/aburkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aburkj/subscriptions","organizations_url":"https://api.github.com/users/aburkj/orgs","repos_url":"https://api.github.com/users/aburkj/repos","events_url":"https://api.github.com/users/aburkj/events{/privacy}","received_events_url":"https://api.github.com/users/aburkj/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"0408d075b721c056db91911a1a1a718867430cbc","created_at":"2015-01-05T19:55:29Z","updated_at":"2015-01-05T19:55:29Z","body":"I believe it was this change, and specifically removal of processing of packet listeners via executorService. New flow is like this : \r\n\r\n1) client receives an AdHocCommand, which is processed via a PacketListener\r\n2) AdHocCommand sends a request to establish a Bytestream session, which procudes a Disco request and a Collector is created to handle the response\r\n3) AdHocCommand is still blocking the loop inside processPacket() method until Bytestream request times out\r\n4) the Collector is now processed since the blocking PacketListener (AdhocCommand) has completed\r\n\r\nIn terms of APIs, my code has a LocalCommand which invokes Socks5BytestreamManager.establishSession() inside its next() method, which is where the problem takes place.\r\n\r\nI will follow up through the community a bit later, like you suggested."}}