{"action":"created","issue":{"url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/152","labels_url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/152/comments","events_url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/152/events","html_url":"https://github.com/impossibl/pgjdbc-ng/pull/152","id":66978480,"number":152,"title":"ConnectionTest.java edits to show network timeout failure on terminated backend","user":{"login":"csdillard","id":766641,"avatar_url":"https://avatars.githubusercontent.com/u/766641?v=3","gravatar_id":"","url":"https://api.github.com/users/csdillard","html_url":"https://github.com/csdillard","followers_url":"https://api.github.com/users/csdillard/followers","following_url":"https://api.github.com/users/csdillard/following{/other_user}","gists_url":"https://api.github.com/users/csdillard/gists{/gist_id}","starred_url":"https://api.github.com/users/csdillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csdillard/subscriptions","organizations_url":"https://api.github.com/users/csdillard/orgs","repos_url":"https://api.github.com/users/csdillard/repos","events_url":"https://api.github.com/users/csdillard/events{/privacy}","received_events_url":"https://api.github.com/users/csdillard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-07T19:59:26Z","updated_at":"2015-04-08T19:28:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/impossibl/pgjdbc-ng/pulls/152","html_url":"https://github.com/impossibl/pgjdbc-ng/pull/152","diff_url":"https://github.com/impossibl/pgjdbc-ng/pull/152.diff","patch_url":"https://github.com/impossibl/pgjdbc-ng/pull/152.patch"},"body":"The edited test case now demonstrates [the bug here] (https://github.com/impossibl/pgjdbc-ng/issues/148), namely that shutting down a server backend will keep network timeout from working as expected.\r\n\r\nThough to be honest, it's not clear to me whether this is a bug in the operating system, a bug in Java's NIO, a bug in the driver, or just a general problem with TCP networking."},"comment":{"url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/comments/91011815","html_url":"https://github.com/impossibl/pgjdbc-ng/pull/152#issuecomment-91011815","issue_url":"https://api.github.com/repos/impossibl/pgjdbc-ng/issues/152","id":91011815,"user":{"login":"jesperpedersen","id":229465,"avatar_url":"https://avatars.githubusercontent.com/u/229465?v=3","gravatar_id":"","url":"https://api.github.com/users/jesperpedersen","html_url":"https://github.com/jesperpedersen","followers_url":"https://api.github.com/users/jesperpedersen/followers","following_url":"https://api.github.com/users/jesperpedersen/following{/other_user}","gists_url":"https://api.github.com/users/jesperpedersen/gists{/gist_id}","starred_url":"https://api.github.com/users/jesperpedersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesperpedersen/subscriptions","organizations_url":"https://api.github.com/users/jesperpedersen/orgs","repos_url":"https://api.github.com/users/jesperpedersen/repos","events_url":"https://api.github.com/users/jesperpedersen/events{/privacy}","received_events_url":"https://api.github.com/users/jesperpedersen/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T19:28:38Z","updated_at":"2015-04-08T19:28:38Z","body":"That is a bit different, since the connection will be dead, and hence a SQLException will be thrown.\r\n\r\nI have made some changes though to detect that, and changed the test case."}}