{"action":"created","issue":{"url":"https://api.github.com/repos/curl/curl/issues/648","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/648/comments","events_url":"https://api.github.com/repos/curl/curl/issues/648/events","html_url":"https://github.com/curl/curl/issues/648","id":133394632,"number":648,"title":"libcurl reuses connections when proxy port changes","user":{"login":"p","id":125612,"avatar_url":"https://avatars.githubusercontent.com/u/125612?v=3","gravatar_id":"","url":"https://api.github.com/users/p","html_url":"https://github.com/p","followers_url":"https://api.github.com/users/p/followers","following_url":"https://api.github.com/users/p/following{/other_user}","gists_url":"https://api.github.com/users/p/gists{/gist_id}","starred_url":"https://api.github.com/users/p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p/subscriptions","organizations_url":"https://api.github.com/users/p/orgs","repos_url":"https://api.github.com/users/p/repos","events_url":"https://api.github.com/users/p/events{/privacy}","received_events_url":"https://api.github.com/users/p/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-13T03:46:45Z","updated_at":"2016-02-17T13:58:50Z","closed_at":null,"body":"This was originally reported to pycurl: https://github.com/pycurl/pycurl/issues/392\r\n\r\nTest program in C: https://github.com/p/test-repo/blob/master/libcurl/socksproxybug.c reproduces the bug against libcurl master.\r\n\r\n@fuchaoqun can provide the public test IP.\r\n\r\nEven though proxy port changes between requests, libcurl reuses the connection which means the second request is sent to the first proxy."},"comment":{"url":"https://api.github.com/repos/curl/curl/issues/comments/185216027","html_url":"https://github.com/curl/curl/issues/648#issuecomment-185216027","issue_url":"https://api.github.com/repos/curl/curl/issues/648","id":185216027,"user":{"login":"fuchaoqun","id":950732,"avatar_url":"https://avatars.githubusercontent.com/u/950732?v=3","gravatar_id":"","url":"https://api.github.com/users/fuchaoqun","html_url":"https://github.com/fuchaoqun","followers_url":"https://api.github.com/users/fuchaoqun/followers","following_url":"https://api.github.com/users/fuchaoqun/following{/other_user}","gists_url":"https://api.github.com/users/fuchaoqun/gists{/gist_id}","starred_url":"https://api.github.com/users/fuchaoqun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuchaoqun/subscriptions","organizations_url":"https://api.github.com/users/fuchaoqun/orgs","repos_url":"https://api.github.com/users/fuchaoqun/repos","events_url":"https://api.github.com/users/fuchaoqun/events{/privacy}","received_events_url":"https://api.github.com/users/fuchaoqun/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T13:58:49Z","updated_at":"2016-02-17T13:58:49Z","body":"the bug can be \"fixed\" by set opt FRESH_CONNECT or FORBID_REUSE true"}}