{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/2399","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/2399/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/2399/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/2399/events","html_url":"https://github.com/esp8266/Arduino/issues/2399","id":171205842,"number":2399,"title":"Yield context issue","user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars.githubusercontent.com/u/8822552?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/component:%20core","name":"component: core","color":"fad8c7"},{"url":"https://api.github.com/repos/esp8266/Arduino/labels/component:%20libraries","name":"component: libraries","color":"c7def8"},{"url":"https://api.github.com/repos/esp8266/Arduino/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/esp8266/Arduino/milestones/7","html_url":"https://github.com/esp8266/Arduino/milestones/2.4.0","labels_url":"https://api.github.com/repos/esp8266/Arduino/milestones/7/labels","id":1806423,"number":7,"title":"2.4.0","description":"","creator":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"open_issues":93,"closed_issues":4,"state":"open","created_at":"2016-06-03T04:11:25Z","updated_at":"2016-08-16T04:15:00Z","due_on":"2016-07-31T16:00:00Z","closed_at":null},"comments":4,"created_at":"2016-08-15T16:23:59Z","updated_at":"2016-08-16T15:13:01Z","closed_at":null,"body":"I am using Git version and ESP12F CPU 160Mz 4MB/1MB SPIFFS and SD card library https://github.com/greiman/SdFat/tree/master/SdFat\r\n\r\nwhen using :\r\n```\r\nFile datafile = SD.open((char *)path.c_str());\r\n                  if (!datafile){\r\n                       LOG(\"Cannot open file!\\n\");\r\n                       web_interface->WebServer.sendContent_P(NOT_AUTH_NF);\r\n                       page_not_found = true;\r\n                    }\r\n                if (web_interface->WebServer.streamFile(datafile, contentType) != datafile.size()) {\r\n                    LOG(\"Sent less data than expected!\\n\");\r\n                    }\r\n                else LOG(\"Stream done\\n\");\r\n```\r\n\r\nI have a crash when downloading files bigger than few Kb but no issue with small files \r\nI have opened an issue on sdfat https://github.com/greiman/SdFat/issues/39 and conclusion it is yield issue on esp core\r\nDiscussion with @me-no-dev and @martinayotte  on gitter start here : https://gitter.im/esp8266/Arduino?at=57b1da0323f0cacc34e7e119\r\nand end here: https://gitter.im/esp8266/Arduino?at=57b1e7dabe8025f16943d246\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/240133480","html_url":"https://github.com/esp8266/Arduino/issues/2399#issuecomment-240133480","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/2399","id":240133480,"user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars.githubusercontent.com/u/8822552?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T15:13:01Z","updated_at":"2016-08-16T15:13:01Z","body":"@martinayotte here my project tree/branch with SD: https://github.com/luc-github/ESP3D/tree/SDTest\r\n Still working on it but you can have a look - I do not use another external library but SdFat\r\n"}}
{"actor":{"display_login":"luc-github"}}