{"action":"created","issue":{"url":"https://api.github.com/repos/miyagawa/Starman/issues/114","labels_url":"https://api.github.com/repos/miyagawa/Starman/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/miyagawa/Starman/issues/114/comments","events_url":"https://api.github.com/repos/miyagawa/Starman/issues/114/events","html_url":"https://github.com/miyagawa/Starman/pull/114","id":73440088,"number":114,"title":"Treat ECONNRESET like EPIPE (i.e. ignore), not as a fatal error.","user":{"login":"timbunce","id":62403,"avatar_url":"https://avatars.githubusercontent.com/u/62403?v=3","gravatar_id":"","url":"https://api.github.com/users/timbunce","html_url":"https://github.com/timbunce","followers_url":"https://api.github.com/users/timbunce/followers","following_url":"https://api.github.com/users/timbunce/following{/other_user}","gists_url":"https://api.github.com/users/timbunce/gists{/gist_id}","starred_url":"https://api.github.com/users/timbunce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbunce/subscriptions","organizations_url":"https://api.github.com/users/timbunce/orgs","repos_url":"https://api.github.com/users/timbunce/repos","events_url":"https://api.github.com/users/timbunce/events{/privacy}","received_events_url":"https://api.github.com/users/timbunce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T21:40:47Z","updated_at":"2015-05-05T21:47:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/miyagawa/Starman/pulls/114","html_url":"https://github.com/miyagawa/Starman/pull/114","diff_url":"https://github.com/miyagawa/Starman/pull/114.diff","patch_url":"https://github.com/miyagawa/Starman/pull/114.patch"},"body":"If the client closed the connection before reading all the data,\r\nor there's a network failure that results in the connection being reset,\r\nwe shouldn't treat that as a fatal error. It's much more like EPIPE\r\nso now we treat it that way."},"comment":{"url":"https://api.github.com/repos/miyagawa/Starman/issues/comments/99233216","html_url":"https://github.com/miyagawa/Starman/pull/114#issuecomment-99233216","issue_url":"https://api.github.com/repos/miyagawa/Starman/issues/114","id":99233216,"user":{"login":"timbunce","id":62403,"avatar_url":"https://avatars.githubusercontent.com/u/62403?v=3","gravatar_id":"","url":"https://api.github.com/users/timbunce","html_url":"https://github.com/timbunce","followers_url":"https://api.github.com/users/timbunce/followers","following_url":"https://api.github.com/users/timbunce/following{/other_user}","gists_url":"https://api.github.com/users/timbunce/gists{/gist_id}","starred_url":"https://api.github.com/users/timbunce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbunce/subscriptions","organizations_url":"https://api.github.com/users/timbunce/orgs","repos_url":"https://api.github.com/users/timbunce/repos","events_url":"https://api.github.com/users/timbunce/events{/privacy}","received_events_url":"https://api.github.com/users/timbunce/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T21:47:37Z","updated_at":"2015-05-05T21:47:37Z","body":"We encountered this issue due to a health-check that only read the headers of the response (sent by the first _syswrite() call) and then closed the connection without reading the body (sent by a second _syswrite() call).\r\n\r\nSo there was a race-hazard: From time-to-time the OS would notice the socket closing before the second syswrite and then we'd get a \"write error: Connection reset by peer\" error. "}}