{"action":"created","issue":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/1452","repository_url":"https://api.github.com/repos/espressif/esp-idf","labels_url":"https://api.github.com/repos/espressif/esp-idf/issues/1452/labels{/name}","comments_url":"https://api.github.com/repos/espressif/esp-idf/issues/1452/comments","events_url":"https://api.github.com/repos/espressif/esp-idf/issues/1452/events","html_url":"https://github.com/espressif/esp-idf/issues/1452","id":285179298,"number":1452,"title":"libcurl fails with \"Connection already in progress\"","user":{"login":"paulreimer","id":2677,"avatar_url":"https://avatars2.githubusercontent.com/u/2677?v=4","gravatar_id":"","url":"https://api.github.com/users/paulreimer","html_url":"https://github.com/paulreimer","followers_url":"https://api.github.com/users/paulreimer/followers","following_url":"https://api.github.com/users/paulreimer/following{/other_user}","gists_url":"https://api.github.com/users/paulreimer/gists{/gist_id}","starred_url":"https://api.github.com/users/paulreimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulreimer/subscriptions","organizations_url":"https://api.github.com/users/paulreimer/orgs","repos_url":"https://api.github.com/users/paulreimer/repos","events_url":"https://api.github.com/users/paulreimer/events{/privacy}","received_events_url":"https://api.github.com/users/paulreimer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-30T02:41:37Z","updated_at":"2017-12-30T22:34:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As noted in this issue:\r\nhttps://github.com/nkolban/esp32-snippets/issues/219\r\n\r\nI get a similar error with HTTPS using mbedTLS, as well:\r\n```\r\n* Rebuilt URL to: https://www.howsmyssl.com/\r\n* timeout on name lookup is not supported\r\n*   Trying 104.196.190.195...\r\n* TCP_NODELAY set\r\n* connect to 104.196.190.195 port 443 failed: Connection already in progress\r\n* Failed to connect to www.howsmyssl.com port 443: Connection already in progress\r\n* Closing connection 0\r\nI (6156) curl_test: curl_easy_perform failed: Couldn't connect to server\r\n```\r\n\r\nSpecifically these commits appear to break libcurl which worked before (e.g. on commit a320fed and before)\r\nhttps://github.com/espressif/esp-idf/compare/a320fed...3f83914\r\n\r\nI should note that libcurl does currently work on the latest release v2.1, but I ran `git bisect` to find the exact commits that broke it."},"comment":{"url":"https://api.github.com/repos/espressif/esp-idf/issues/comments/354572361","html_url":"https://github.com/espressif/esp-idf/issues/1452#issuecomment-354572361","issue_url":"https://api.github.com/repos/espressif/esp-idf/issues/1452","id":354572361,"user":{"login":"paulreimer","id":2677,"avatar_url":"https://avatars2.githubusercontent.com/u/2677?v=4","gravatar_id":"","url":"https://api.github.com/users/paulreimer","html_url":"https://github.com/paulreimer","followers_url":"https://api.github.com/users/paulreimer/followers","following_url":"https://api.github.com/users/paulreimer/following{/other_user}","gists_url":"https://api.github.com/users/paulreimer/gists{/gist_id}","starred_url":"https://api.github.com/users/paulreimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulreimer/subscriptions","organizations_url":"https://api.github.com/users/paulreimer/orgs","repos_url":"https://api.github.com/users/paulreimer/repos","events_url":"https://api.github.com/users/paulreimer/events{/privacy}","received_events_url":"https://api.github.com/users/paulreimer/received_events","type":"User","site_admin":false},"created_at":"2017-12-30T22:34:20Z","updated_at":"2017-12-30T22:34:20Z","author_association":"CONTRIBUTOR","body":"Thanks @loboris, I can confirm that your `curl` component in the repo above does work for me using the latest `esp-idf` master (I can even use my `curl_config.h` that wasn't working above, but I have to comment out `SIZEOF_CURL_OFF_T`).\r\n\r\nYou also included `libssh2`, `quickmail`, and `zlib` to support more `curl` features, which I must say is awesome.\r\n\r\nHowever I'm trying to figure out where you got the `curl` sources from. I see in your `include/curl/curlver.h`\r\n```\r\n#define LIBCURL_VERSION \"7.54.1-DEV\"\r\n```\r\n\r\nBut there are significant diffs from the official `curl` v7.54.1 release sources. I'd prefer to be able to track upstream `curl`, at least know where the patches came from, etc."}}
{"actor":{"display_login":"paulreimer"}}