{"action":"created","issue":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/1922","repository_url":"https://api.github.com/repos/zeromq/libzmq","labels_url":"https://api.github.com/repos/zeromq/libzmq/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/libzmq/issues/1922/comments","events_url":"https://api.github.com/repos/zeromq/libzmq/issues/1922/events","html_url":"https://github.com/zeromq/libzmq/issues/1922","id":150647291,"number":1922,"title":"Linger -1 is still not working correctly","user":{"login":"thehesiod","id":4001789,"avatar_url":"https://avatars.githubusercontent.com/u/4001789?v=3","gravatar_id":"","url":"https://api.github.com/users/thehesiod","html_url":"https://github.com/thehesiod","followers_url":"https://api.github.com/users/thehesiod/followers","following_url":"https://api.github.com/users/thehesiod/following{/other_user}","gists_url":"https://api.github.com/users/thehesiod/gists{/gist_id}","starred_url":"https://api.github.com/users/thehesiod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehesiod/subscriptions","organizations_url":"https://api.github.com/users/thehesiod/orgs","repos_url":"https://api.github.com/users/thehesiod/repos","events_url":"https://api.github.com/users/thehesiod/events{/privacy}","received_events_url":"https://api.github.com/users/thehesiod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-24T10:22:16Z","updated_at":"2016-04-24T10:56:45Z","closed_at":null,"body":"https://github.com/zeromq/libzmq/issues/919 noted that https://github.com/zeromq/libzmq/pull/1511 seemed to fix the issue, however based on more testing it seems the fix is not complete.  In a scenario I have, a stable PULL socket, with multiple dynamic PUSH sockets, the last message may not get sent before close().  I have validated that by sending HWM +1 messages of size SNDBUF that the last message will then get delivered.  This is a really bad issue as it involves data loss. I'll try to get a testcase extracted from my application soon.  I'm guessing there's some extra OS level buffering that's not being accounted for."},"comment":{"url":"https://api.github.com/repos/zeromq/libzmq/issues/comments/213935872","html_url":"https://github.com/zeromq/libzmq/issues/1922#issuecomment-213935872","issue_url":"https://api.github.com/repos/zeromq/libzmq/issues/1922","id":213935872,"user":{"login":"bluca","id":782193,"avatar_url":"https://avatars.githubusercontent.com/u/782193?v=3","gravatar_id":"","url":"https://api.github.com/users/bluca","html_url":"https://github.com/bluca","followers_url":"https://api.github.com/users/bluca/followers","following_url":"https://api.github.com/users/bluca/following{/other_user}","gists_url":"https://api.github.com/users/bluca/gists{/gist_id}","starred_url":"https://api.github.com/users/bluca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluca/subscriptions","organizations_url":"https://api.github.com/users/bluca/orgs","repos_url":"https://api.github.com/users/bluca/repos","events_url":"https://api.github.com/users/bluca/events{/privacy}","received_events_url":"https://api.github.com/users/bluca/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T10:56:45Z","updated_at":"2016-04-24T10:56:45Z","body":"Hi,\r\n\r\nA minimal test case would be definitely very useful to hunt this down. On what platform are you experiencing this?"}}