{"action":"created","issue":{"url":"https://api.github.com/repos/yedf/openssl-example/issues/1","labels_url":"https://api.github.com/repos/yedf/openssl-example/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yedf/openssl-example/issues/1/comments","events_url":"https://api.github.com/repos/yedf/openssl-example/issues/1/events","html_url":"https://github.com/yedf/openssl-example/issues/1","id":110405486,"number":1,"title":"请问怎么判断server已经shutdown，然后重连？","user":{"login":"lazyp","id":3221802,"avatar_url":"https://avatars.githubusercontent.com/u/3221802?v=3","gravatar_id":"","url":"https://api.github.com/users/lazyp","html_url":"https://github.com/lazyp","followers_url":"https://api.github.com/users/lazyp/followers","following_url":"https://api.github.com/users/lazyp/following{/other_user}","gists_url":"https://api.github.com/users/lazyp/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyp/subscriptions","organizations_url":"https://api.github.com/users/lazyp/orgs","repos_url":"https://api.github.com/users/lazyp/repos","events_url":"https://api.github.com/users/lazyp/events{/privacy}","received_events_url":"https://api.github.com/users/lazyp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-08T09:20:57Z","updated_at":"2015-10-09T04:39:58Z","closed_at":"2015-10-09T04:39:51Z","body":"目前我用openssl bio连接ssl server，ssl socket server 关闭了，openssl BIO_read返回的是0，但是server关闭了，BIO_write却没任何异常？\r\n具体的描述http://segmentfault.com/q/1010000003808197，能帮忙看下吗？谢谢"},"comment":{"url":"https://api.github.com/repos/yedf/openssl-example/issues/comments/146754179","html_url":"https://github.com/yedf/openssl-example/issues/1#issuecomment-146754179","issue_url":"https://api.github.com/repos/yedf/openssl-example/issues/1","id":146754179,"user":{"login":"yedf","id":6055142,"avatar_url":"https://avatars.githubusercontent.com/u/6055142?v=3","gravatar_id":"","url":"https://api.github.com/users/yedf","html_url":"https://github.com/yedf","followers_url":"https://api.github.com/users/yedf/followers","following_url":"https://api.github.com/users/yedf/following{/other_user}","gists_url":"https://api.github.com/users/yedf/gists{/gist_id}","starred_url":"https://api.github.com/users/yedf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yedf/subscriptions","organizations_url":"https://api.github.com/users/yedf/orgs","repos_url":"https://api.github.com/users/yedf/repos","events_url":"https://api.github.com/users/yedf/events{/privacy}","received_events_url":"https://api.github.com/users/yedf/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T04:39:58Z","updated_at":"2015-10-09T04:39:58Z","body":"其实是write就退出了，不是BIO_free_all。恭喜！"}}