{"action":"created","issue":{"url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/150","repository_url":"https://api.github.com/repos/denisenkom/go-mssqldb","labels_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/150/comments","events_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/150/events","html_url":"https://github.com/denisenkom/go-mssqldb/pull/150","id":148217409,"number":150,"title":"return driver.ErrBadConn on all net.Error values","user":{"login":"bhcleek","id":1958864,"avatar_url":"https://avatars.githubusercontent.com/u/1958864?v=3","gravatar_id":"","url":"https://api.github.com/users/bhcleek","html_url":"https://github.com/bhcleek","followers_url":"https://api.github.com/users/bhcleek/followers","following_url":"https://api.github.com/users/bhcleek/following{/other_user}","gists_url":"https://api.github.com/users/bhcleek/gists{/gist_id}","starred_url":"https://api.github.com/users/bhcleek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhcleek/subscriptions","organizations_url":"https://api.github.com/users/bhcleek/orgs","repos_url":"https://api.github.com/users/bhcleek/repos","events_url":"https://api.github.com/users/bhcleek/events{/privacy}","received_events_url":"https://api.github.com/users/bhcleek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-14T00:23:46Z","updated_at":"2016-06-07T22:30:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/denisenkom/go-mssqldb/pulls/150","html_url":"https://github.com/denisenkom/go-mssqldb/pull/150","diff_url":"https://github.com/denisenkom/go-mssqldb/pull/150.diff","patch_url":"https://github.com/denisenkom/go-mssqldb/pull/150.patch"},"body":"Fixes running queries against a sql server that is restarted after\r\ncalling db.Open.\r\n\r\nPreviously, opening a connection and successfully executing queries followed by restarting SQL Server would cause all future queries to fail, because the error would be a `net.OpError` where `Temporary()` returns true and `Timeout()` returns false. Assuming this code scenario used to work as expected, I suspect that the change introduced in https://github.com/golang/go/commit/055ecb7be5805e07498488c59c6f01644fdacccc#diff-ae34eb42831ffecf011ea43c6429582c may have been the root cause of this change in behavior."},"comment":{"url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/comments/224434301","html_url":"https://github.com/denisenkom/go-mssqldb/pull/150#issuecomment-224434301","issue_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/150","id":224434301,"user":{"login":"denisenkom","id":2815692,"avatar_url":"https://avatars.githubusercontent.com/u/2815692?v=3","gravatar_id":"","url":"https://api.github.com/users/denisenkom","html_url":"https://github.com/denisenkom","followers_url":"https://api.github.com/users/denisenkom/followers","following_url":"https://api.github.com/users/denisenkom/following{/other_user}","gists_url":"https://api.github.com/users/denisenkom/gists{/gist_id}","starred_url":"https://api.github.com/users/denisenkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisenkom/subscriptions","organizations_url":"https://api.github.com/users/denisenkom/orgs","repos_url":"https://api.github.com/users/denisenkom/repos","events_url":"https://api.github.com/users/denisenkom/events{/privacy}","received_events_url":"https://api.github.com/users/denisenkom/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T22:30:23Z","updated_at":"2016-06-07T22:30:23Z","body":"@bhcleek can you add a test for this problem?"}}
{"actor":{"display_login":"denisenkom"}}