{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/132","labels_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/132/comments","events_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/132/events","html_url":"https://github.com/Metaswitch/cpp-common/issues/132","id":37346605,"number":132,"title":"500ms HTTP request timeout is not honoured","user":{"login":"rkd-msw","id":4363492,"avatar_url":"https://avatars.githubusercontent.com/u/4363492?v=3","gravatar_id":"","url":"https://api.github.com/users/rkd-msw","html_url":"https://github.com/rkd-msw","followers_url":"https://api.github.com/users/rkd-msw/followers","following_url":"https://api.github.com/users/rkd-msw/following{/other_user}","gists_url":"https://api.github.com/users/rkd-msw/gists{/gist_id}","starred_url":"https://api.github.com/users/rkd-msw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkd-msw/subscriptions","organizations_url":"https://api.github.com/users/rkd-msw/orgs","repos_url":"https://api.github.com/users/rkd-msw/repos","events_url":"https://api.github.com/users/rkd-msw/events{/privacy}","received_events_url":"https://api.github.com/users/rkd-msw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-08T09:08:05Z","updated_at":"2015-06-10T14:38:14Z","closed_at":null,"body":"We set a 500ms timeout on HTTP connections. However, curl_easy_perform includes a call to curl_multi_wait with a timeout of 1000ms (https://github.com/Metaswitch/curl/blob/master/lib/easy.c#L681), so if the HTTP server is reachable but unresponsive, it will not time out until a multiple of 1000ms have passed."},"comment":{"url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/comments/110777503","html_url":"https://github.com/Metaswitch/cpp-common/issues/132#issuecomment-110777503","issue_url":"https://api.github.com/repos/Metaswitch/cpp-common/issues/132","id":110777503,"user":{"login":"rkd-msw","id":4363492,"avatar_url":"https://avatars.githubusercontent.com/u/4363492?v=3","gravatar_id":"","url":"https://api.github.com/users/rkd-msw","html_url":"https://github.com/rkd-msw","followers_url":"https://api.github.com/users/rkd-msw/followers","following_url":"https://api.github.com/users/rkd-msw/following{/other_user}","gists_url":"https://api.github.com/users/rkd-msw/gists{/gist_id}","starred_url":"https://api.github.com/users/rkd-msw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkd-msw/subscriptions","organizations_url":"https://api.github.com/users/rkd-msw/orgs","repos_url":"https://api.github.com/users/rkd-msw/repos","events_url":"https://api.github.com/users/rkd-msw/events{/privacy}","received_events_url":"https://api.github.com/users/rkd-msw/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T14:38:14Z","updated_at":"2015-06-10T14:38:14Z","body":"Upstream fix https://github.com/bagder/curl/commit/29bf0598aad58d9da5dd8c5358f5175dae49026d looks like it will address this - we should probably bring curl up to the current master. (@eleanor-merry)"}}