{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/244","labels_url":"https://api.github.com/repos/bagder/curl/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/244/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/244/events","html_url":"https://github.com/bagder/curl/issues/244","id":72011087,"number":244,"title":"schannel_recv treats no bytes available as end-of-stream","user":{"login":"chris-araman","id":283735,"avatar_url":"https://avatars.githubusercontent.com/u/283735?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-araman","html_url":"https://github.com/chris-araman","followers_url":"https://api.github.com/users/chris-araman/followers","following_url":"https://api.github.com/users/chris-araman/following{/other_user}","gists_url":"https://api.github.com/users/chris-araman/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-araman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-araman/subscriptions","organizations_url":"https://api.github.com/users/chris-araman/orgs","repos_url":"https://api.github.com/users/chris-araman/repos","events_url":"https://api.github.com/users/chris-araman/events{/privacy}","received_events_url":"https://api.github.com/users/chris-araman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mback2k","id":231943,"avatar_url":"https://avatars.githubusercontent.com/u/231943?v=3","gravatar_id":"","url":"https://api.github.com/users/mback2k","html_url":"https://github.com/mback2k","followers_url":"https://api.github.com/users/mback2k/followers","following_url":"https://api.github.com/users/mback2k/following{/other_user}","gists_url":"https://api.github.com/users/mback2k/gists{/gist_id}","starred_url":"https://api.github.com/users/mback2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mback2k/subscriptions","organizations_url":"https://api.github.com/users/mback2k/orgs","repos_url":"https://api.github.com/users/mback2k/repos","events_url":"https://api.github.com/users/mback2k/events{/privacy}","received_events_url":"https://api.github.com/users/mback2k/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-04-29T22:53:38Z","updated_at":"2015-06-17T18:03:21Z","closed_at":null,"body":"A recent change caused a regression in the behavior of `schannel_recv`.\r\n\r\nPreviously, when no more data was available to read, `schannel_recv` would return `-1`. After this change, `schannel_recv` returns `0`:\r\nhttps://sourceforge.net/p/curl/bugs/1462/\r\n\r\nThis in turn changes the behavior of `curl_easy_recv`. It used to return `CURLE_AGAIN` in this scenario, but now returns `CURLE_OK` and `0` bytes received, as if we've reached the end of the stream.\r\n\r\nThis in turn causes HTTPS requests to fail intermittently on Windows with errors like `CURLE_GOT_NOTHING`.\r\n\r\nThe behavior is reproducible with libcurl 7.42.1."},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/112896144","html_url":"https://github.com/bagder/curl/issues/244#issuecomment-112896144","issue_url":"https://api.github.com/repos/bagder/curl/issues/244","id":112896144,"user":{"login":"chris-araman","id":283735,"avatar_url":"https://avatars.githubusercontent.com/u/283735?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-araman","html_url":"https://github.com/chris-araman","followers_url":"https://api.github.com/users/chris-araman/followers","following_url":"https://api.github.com/users/chris-araman/following{/other_user}","gists_url":"https://api.github.com/users/chris-araman/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-araman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-araman/subscriptions","organizations_url":"https://api.github.com/users/chris-araman/orgs","repos_url":"https://api.github.com/users/chris-araman/repos","events_url":"https://api.github.com/users/chris-araman/events{/privacy}","received_events_url":"https://api.github.com/users/chris-araman/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T18:03:21Z","updated_at":"2015-06-17T18:03:21Z","body":"I'm testing 7.43.0 out now. Looks good so far. Thanks, @jay and @mback2k!"}}