{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/505","labels_url":"https://api.github.com/repos/libuv/libuv/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/505/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/505/events","html_url":"https://github.com/libuv/libuv/issues/505","id":104585606,"number":505,"title":"Assert in Windows implementation of pipes","user":{"login":"mad-rain","id":3447167,"avatar_url":"https://avatars.githubusercontent.com/u/3447167?v=3","gravatar_id":"","url":"https://api.github.com/users/mad-rain","html_url":"https://github.com/mad-rain","followers_url":"https://api.github.com/users/mad-rain/followers","following_url":"https://api.github.com/users/mad-rain/following{/other_user}","gists_url":"https://api.github.com/users/mad-rain/gists{/gist_id}","starred_url":"https://api.github.com/users/mad-rain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mad-rain/subscriptions","organizations_url":"https://api.github.com/users/mad-rain/orgs","repos_url":"https://api.github.com/users/mad-rain/repos","events_url":"https://api.github.com/users/mad-rain/events{/privacy}","received_events_url":"https://api.github.com/users/mad-rain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libuv/libuv/labels/windows","name":"windows","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-09-02T22:36:05Z","updated_at":"2015-09-17T23:49:30Z","closed_at":null,"body":"Hi!\r\n\r\nI'm getting assertion failed in the following line when doing multiple writes to an IPC pipe on Windows:\r\n\r\nhttps://github.com/libuv/libuv/blob/v1.x/src/win/pipe.c#L1637\r\n\r\nIt looks like here should be *min(buf.len, avail)* instead of *buf.len*:\r\n\r\nhttps://github.com/libuv/libuv/blob/v1.x/src/win/pipe.c#L1632\r\n\r\nAlso there is a problem with uv_run, doesn't stop by itself when an IPC pipe was created and closed then.\r\n\r\nAndrew.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/141287594","html_url":"https://github.com/libuv/libuv/issues/505#issuecomment-141287594","issue_url":"https://api.github.com/repos/libuv/libuv/issues/505","id":141287594,"user":{"login":"whitlockjc","id":98899,"avatar_url":"https://avatars.githubusercontent.com/u/98899?v=3","gravatar_id":"","url":"https://api.github.com/users/whitlockjc","html_url":"https://github.com/whitlockjc","followers_url":"https://api.github.com/users/whitlockjc/followers","following_url":"https://api.github.com/users/whitlockjc/following{/other_user}","gists_url":"https://api.github.com/users/whitlockjc/gists{/gist_id}","starred_url":"https://api.github.com/users/whitlockjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitlockjc/subscriptions","organizations_url":"https://api.github.com/users/whitlockjc/orgs","repos_url":"https://api.github.com/users/whitlockjc/repos","events_url":"https://api.github.com/users/whitlockjc/events{/privacy}","received_events_url":"https://api.github.com/users/whitlockjc/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T23:49:30Z","updated_at":"2015-09-17T23:49:30Z","body":"Sorry, I've been swamped at work and the Tough Mudder so I've not worked on this since last week.  I'll be working on this tomorrow."}}