{"action":"created","issue":{"url":"https://api.github.com/repos/accelio/accelio/issues/17","labels_url":"https://api.github.com/repos/accelio/accelio/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/accelio/accelio/issues/17/comments","events_url":"https://api.github.com/repos/accelio/accelio/issues/17/events","html_url":"https://github.com/accelio/accelio/issues/17","id":70041721,"number":17,"title":"How does the Accelio notify send_complete event when XIO_MSG_FLAG_IMM_SEND_COMP not set?","user":{"login":"reyoung","id":728699,"avatar_url":"https://avatars.githubusercontent.com/u/728699?v=3","gravatar_id":"","url":"https://api.github.com/users/reyoung","html_url":"https://github.com/reyoung","followers_url":"https://api.github.com/users/reyoung/followers","following_url":"https://api.github.com/users/reyoung/following{/other_user}","gists_url":"https://api.github.com/users/reyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/reyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyoung/subscriptions","organizations_url":"https://api.github.com/users/reyoung/orgs","repos_url":"https://api.github.com/users/reyoung/repos","events_url":"https://api.github.com/users/reyoung/events{/privacy}","received_events_url":"https://api.github.com/users/reyoung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-22T07:01:13Z","updated_at":"2015-04-22T07:08:57Z","closed_at":null,"body":"It happens sometime in my code that the response is already recieved but the send_msg_complete event is not invoked. So I set all my response flag to XIO_MSG_FLAG_IMM_SEND_COMP. The problem seems solved. \r\n\r\nBut, why does this problem happen? How does accelio call send_msg_complete in detail?"},"comment":{"url":"https://api.github.com/repos/accelio/accelio/issues/comments/95055000","html_url":"https://github.com/accelio/accelio/issues/17#issuecomment-95055000","issue_url":"https://api.github.com/repos/accelio/accelio/issues/17","id":95055000,"user":{"login":"accelio","id":5418051,"avatar_url":"https://avatars.githubusercontent.com/u/5418051?v=3","gravatar_id":"","url":"https://api.github.com/users/accelio","html_url":"https://github.com/accelio","followers_url":"https://api.github.com/users/accelio/followers","following_url":"https://api.github.com/users/accelio/following{/other_user}","gists_url":"https://api.github.com/users/accelio/gists{/gist_id}","starred_url":"https://api.github.com/users/accelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accelio/subscriptions","organizations_url":"https://api.github.com/users/accelio/orgs","repos_url":"https://api.github.com/users/accelio/repos","events_url":"https://api.github.com/users/accelio/events{/privacy}","received_events_url":"https://api.github.com/users/accelio/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T07:08:57Z","updated_at":"2015-04-22T07:08:57Z","body":"If you send 8 responses, the last one will be signaled and when, send completion is triggered,\r\nOn_msg_send_comp callback will be called for all previous messages. so eventually you get this callback on each response.\r\n\r\nFrom: Eyal Salomon\r\nSent: Wednesday, April 22, 2015 10:05 AM\r\nTo: 'accelio/accelio'; accelio/accelio\r\nSubject: RE: [accelio] How does the Accelio notify send_complete event when XIO_MSG_FLAG_IMM_SEND_COMP not set? (#17)\r\n\r\n\r\nTo get best performance Accelio does not ask for “send completion” on each message but on one of 8 messages.\r\nIf you do need the send completion on every message then the flag XIO_MSG_FLAG_IMM_SEND_COMP need to be set.\r\n\r\nFrom: reyoung [mailto:notifications@github.com]\r\nSent: Wednesday, April 22, 2015 10:01 AM\r\nTo: accelio/accelio\r\nSubject: [accelio] How does the Accelio notify send_complete event when XIO_MSG_FLAG_IMM_SEND_COMP not set? (#17)\r\n\r\n\r\nIt happens sometime in my code that the response is already recieved but the send_msg_complete event is not invoked. So I set all my response flag to XIO_MSG_FLAG_IMM_SEND_COMP. The problem seems solved.\r\n\r\nBut, why does this problem happen? How does accelio call send_msg_complete in detail?\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/accelio/accelio/issues/17>.\r\n"}}