{"action":"created","issue":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/533","labels_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/533/comments","events_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/533/events","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/533","id":31339787,"number":533,"title":"Support Socks4/5 Proxy","user":{"login":"Lekanich","id":5021425,"avatar_url":"https://avatars.githubusercontent.com/u/5021425?v=3","gravatar_id":"","url":"https://api.github.com/users/Lekanich","html_url":"https://github.com/Lekanich","followers_url":"https://api.github.com/users/Lekanich/followers","following_url":"https://api.github.com/users/Lekanich/following{/other_user}","gists_url":"https://api.github.com/users/Lekanich/gists{/gist_id}","starred_url":"https://api.github.com/users/Lekanich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lekanich/subscriptions","organizations_url":"https://api.github.com/users/Lekanich/orgs","repos_url":"https://api.github.com/users/Lekanich/repos","events_url":"https://api.github.com/users/Lekanich/events{/privacy}","received_events_url":"https://api.github.com/users/Lekanich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/labels/Enhancement","name":"Enhancement","color":"e102d8"},{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/labels/Please%20Contribute","name":"Please Contribute","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-04-11T16:04:30Z","updated_at":"2015-08-21T05:32:37Z","closed_at":null,"body":"Can you add support socks proxy for netty provider? It was be wonderfull."},"comment":{"url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/comments/133293289","html_url":"https://github.com/AsyncHttpClient/async-http-client/issues/533#issuecomment-133293289","issue_url":"https://api.github.com/repos/AsyncHttpClient/async-http-client/issues/533","id":133293289,"user":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T05:32:37Z","updated_at":"2015-08-21T05:32:37Z","body":"@bchazalet A good starting point would be to look at the test case in Netty:\r\n\r\nhttps://github.com/netty/netty/blob/4.1/handler-proxy/src/test/java/io/netty/handler/proxy/ProxyHandlerTest.java\r\n\r\nIt tests various cases, but they are essentially same.\r\n\r\n- Insert proxy handlers into the pipeline\r\n- Attempt to connect to a unresolved address if you want proxy-side DNS resolution\r\n- Use `NoopNameResolverGroup` as a resolver.\r\n\r\n"}}