{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/954","repository_url":"https://api.github.com/repos/crossbario/autobahn-python","labels_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/954/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/954/comments","events_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/954/events","html_url":"https://github.com/crossbario/autobahn-python/issues/954","id":303619191,"number":954,"title":"Blocking call when using ProgressiveResult (asyncio)","user":{"login":"rdebroiz","id":3714876,"avatar_url":"https://avatars1.githubusercontent.com/u/3714876?v=4","gravatar_id":"","url":"https://api.github.com/users/rdebroiz","html_url":"https://github.com/rdebroiz","followers_url":"https://api.github.com/users/rdebroiz/followers","following_url":"https://api.github.com/users/rdebroiz/following{/other_user}","gists_url":"https://api.github.com/users/rdebroiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rdebroiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdebroiz/subscriptions","organizations_url":"https://api.github.com/users/rdebroiz/orgs","repos_url":"https://api.github.com/users/rdebroiz/repos","events_url":"https://api.github.com/users/rdebroiz/events{/privacy}","received_events_url":"https://api.github.com/users/rdebroiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-08T20:24:11Z","updated_at":"2018-03-09T23:01:17Z","closed_at":"2018-03-08T23:21:28Z","author_association":"NONE","body":"* What I want to do: send a  heavy payload to a remote component using the progressive result.\r\n\r\n* What I do: The sender creates a function to send the payload by chunk, register that function with a temp uri then call a `receive` rpc registered by the Receiver that take the temp uri in parameter. the `receive` function got the chunk send by the Sender and reconstruct the payload once all pieces have been received.\r\n\r\n* What happens: the sender block after it calls the `receive` rcp. ie it blocks while sending stuff if details.progress is not None.\r\n\r\n* Minimal example: https://gist.github.com/rdebroiz/0143ab027c17cc641ad20cea5238821c\r\n\r\nStart first a receiver\r\n```sh\r\npython autobahn_progressive_send_block.py receive\r\n```\r\nthen a sender\r\n```sh\r\npython autobahn_progressive_send_block.py send\r\n```\r\nThe receiver call a rcp to the sender that just print \"pouet\" each time it receive a chunk.\r\n\r\nOn the receiver console all works as expected. On the sender console no ping/pong  message are received until all the chunk have been sent, all the pouet message arrived when all the chunk have been sent as well\r\n\r\n* What I would expect: receive pouet and ping/pong messages while it is still sending chunks. But the ping/pong just stop until sending all the chunks is finish, then it comes back and the sender receive all the pouet message.\r\n"},"comment":{"url":"https://api.github.com/repos/crossbario/autobahn-python/issues/comments/371969917","html_url":"https://github.com/crossbario/autobahn-python/issues/954#issuecomment-371969917","issue_url":"https://api.github.com/repos/crossbario/autobahn-python/issues/954","id":371969917,"user":{"login":"meejah","id":145599,"avatar_url":"https://avatars3.githubusercontent.com/u/145599?v=4","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T23:01:17Z","updated_at":"2018-03-09T23:01:17Z","author_association":"MEMBER","body":"Autobahn's progress calls *are* non-blocking -- or do you mean \"I'd like a nicer API to send a big chunk of data to another place\"..?"}}
{"actor":{"display_login":"meejah"}}