{"action":"created","issue":{"url":"https://api.github.com/repos/shazow/urllib3/issues/585","labels_url":"https://api.github.com/repos/shazow/urllib3/issues/585/labels{/name}","comments_url":"https://api.github.com/repos/shazow/urllib3/issues/585/comments","events_url":"https://api.github.com/repos/shazow/urllib3/issues/585/events","html_url":"https://github.com/shazow/urllib3/pull/585","id":67203602,"number":585,"title":"Add timeout to ssl_wrap_socket","user":{"login":"fermayo","id":3635457,"avatar_url":"https://avatars.githubusercontent.com/u/3635457?v=3","gravatar_id":"","url":"https://api.github.com/users/fermayo","html_url":"https://github.com/fermayo","followers_url":"https://api.github.com/users/fermayo/followers","following_url":"https://api.github.com/users/fermayo/following{/other_user}","gists_url":"https://api.github.com/users/fermayo/gists{/gist_id}","starred_url":"https://api.github.com/users/fermayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fermayo/subscriptions","organizations_url":"https://api.github.com/users/fermayo/orgs","repos_url":"https://api.github.com/users/fermayo/repos","events_url":"https://api.github.com/users/fermayo/events{/privacy}","received_events_url":"https://api.github.com/users/fermayo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-08T19:40:31Z","updated_at":"2015-04-10T11:05:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shazow/urllib3/pulls/585","html_url":"https://github.com/shazow/urllib3/pull/585","diff_url":"https://github.com/shazow/urllib3/pull/585.diff","patch_url":"https://github.com/shazow/urllib3/pull/585.patch"},"body":"Our code is getting stuck sometimes on `select.select([sock], [], [])` forever. It seems to me that we need a timeout in that call. Would adding `sock.gettimeout()` to the `select` call make any sense?"},"comment":{"url":"https://api.github.com/repos/shazow/urllib3/issues/comments/91518390","html_url":"https://github.com/shazow/urllib3/pull/585#issuecomment-91518390","issue_url":"https://api.github.com/repos/shazow/urllib3/issues/585","id":91518390,"user":{"login":"Lukasa","id":1382556,"avatar_url":"https://avatars.githubusercontent.com/u/1382556?v=3","gravatar_id":"","url":"https://api.github.com/users/Lukasa","html_url":"https://github.com/Lukasa","followers_url":"https://api.github.com/users/Lukasa/followers","following_url":"https://api.github.com/users/Lukasa/following{/other_user}","gists_url":"https://api.github.com/users/Lukasa/gists{/gist_id}","starred_url":"https://api.github.com/users/Lukasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lukasa/subscriptions","organizations_url":"https://api.github.com/users/Lukasa/orgs","repos_url":"https://api.github.com/users/Lukasa/repos","events_url":"https://api.github.com/users/Lukasa/events{/privacy}","received_events_url":"https://api.github.com/users/Lukasa/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T11:05:38Z","updated_at":"2015-04-10T11:05:38Z","body":"Yeah, you'd have to begin the handshake but not finish it. I really don't know how to simulate that on our end though, I don't think any library gives us low-level enough control."}}