{"action":"opened","issue":{"url":"https://api.github.com/repos/grpc/grpc-go/issues/758","repository_url":"https://api.github.com/repos/grpc/grpc-go","labels_url":"https://api.github.com/repos/grpc/grpc-go/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-go/issues/758/comments","events_url":"https://api.github.com/repos/grpc/grpc-go/issues/758/events","html_url":"https://github.com/grpc/grpc-go/issues/758","id":164722112,"number":758,"title":"timeouts, addresses, and networks are a mess","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T16:08:17Z","updated_at":"2016-07-10T16:08:17Z","closed_at":null,"body":"In the public API, there are a number of \"oddities\".\r\n\r\n- `net.Dial` does not do cancellation correctly (#751).\r\n- `grpc.Dial` takes only a \"target\" string, compared to `net.Dial` which takes \"network\" and \"address\" strings. This makes it necessary to supply a \"dialer\" which is hardcoded to \"unix\" in some tests.\r\n- `grpc.WithTimeout` is used to control `grpc.Dial`, but `context.Context` is used to control timeouts on individual RPCs.\r\n\r\nI'm considering working on a PR that refactors these interfaces to use context.Context throughout, but I wanted to get feedback before getting too deep into the implementation.\r\n\r\nMy understanding is that GA is approaching quickly, and that this refactoring will not be possible after GA.\r\n\r\n@iamqizhao @bradfitz "}}
{"actor":{"display_login":"tamird"}}