{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/365","labels_url":"https://api.github.com/repos/bagder/curl/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/365/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/365/events","html_url":"https://github.com/bagder/curl/issues/365","id":99427661,"number":365,"title":"Failed to receive SOCKS5 connect request ack","user":{"login":"moltar","id":491247,"avatar_url":"https://avatars.githubusercontent.com/u/491247?v=3","gravatar_id":"","url":"https://api.github.com/users/moltar","html_url":"https://github.com/moltar","followers_url":"https://api.github.com/users/moltar/followers","following_url":"https://api.github.com/users/moltar/following{/other_user}","gists_url":"https://api.github.com/users/moltar/gists{/gist_id}","starred_url":"https://api.github.com/users/moltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moltar/subscriptions","organizations_url":"https://api.github.com/users/moltar/orgs","repos_url":"https://api.github.com/users/moltar/repos","events_url":"https://api.github.com/users/moltar/events{/privacy}","received_events_url":"https://api.github.com/users/moltar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-06T12:53:03Z","updated_at":"2015-09-03T21:30:57Z","closed_at":"2015-09-03T21:30:57Z","body":"I'm trying to proxy git via socks5. When I try to clone a repo, I get the following error:\r\n\r\n```\r\nFailed to receive SOCKS5 connect request ack\r\n```\r\n\r\nLooks like it's coming form here:\r\n\r\nhttps://github.com/bagder/curl/blob/master/lib/socks.c#L661\r\n\r\nShould it be `if(!result` by any chance?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/137580075","html_url":"https://github.com/bagder/curl/issues/365#issuecomment-137580075","issue_url":"https://api.github.com/repos/bagder/curl/issues/365","id":137580075,"user":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T21:30:57Z","updated_at":"2015-09-03T21:30:57Z","body":"Closing due to inactivity and no further details. Re-open if you figure out more or have more details to tell."}}