{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1111","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1111/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1111/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1111/events","html_url":"https://github.com/esp8266/Arduino/issues/1111","id":119403573,"number":1111,"title":"HttpUpdate not booting properly","user":{"login":"adrionics","id":14155780,"avatar_url":"https://avatars.githubusercontent.com/u/14155780?v=3","gravatar_id":"","url":"https://api.github.com/users/adrionics","html_url":"https://github.com/adrionics","followers_url":"https://api.github.com/users/adrionics/followers","following_url":"https://api.github.com/users/adrionics/following{/other_user}","gists_url":"https://api.github.com/users/adrionics/gists{/gist_id}","starred_url":"https://api.github.com/users/adrionics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrionics/subscriptions","organizations_url":"https://api.github.com/users/adrionics/orgs","repos_url":"https://api.github.com/users/adrionics/repos","events_url":"https://api.github.com/users/adrionics/events{/privacy}","received_events_url":"https://api.github.com/users/adrionics/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/libraries","name":"libraries","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/esp8266/Arduino/milestones/3","html_url":"https://github.com/esp8266/Arduino/milestones/2.1.0","labels_url":"https://api.github.com/repos/esp8266/Arduino/milestones/3/labels","id":1396316,"number":3,"title":"2.1.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":36,"closed_issues":2,"state":"open","created_at":"2015-11-05T19:48:31Z","updated_at":"2015-12-14T09:47:55Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-11-30T01:33:34Z","updated_at":"2015-12-16T20:29:38Z","closed_at":null,"body":"I managed to get the httpUpdate working except that it was crashing soon after writing out one line to the serial port.\r\nMy httpUpdate call is as follows:\r\n  t_httpUpdate_return ret = ESPhttpUpdate.update(host, port, url, currentver);\r\n\r\nAfter comparing the process to the POST update example, I found that the _startAddress value in Updater.cpp was different between the WebUpdate example and the httpUpdate method.\r\nIn the POST method, the _startAddress was basically the existing sketch size and in the httpUpdate it was the remaining free space less the new sketch size.\r\n\r\nAfter changing the Updater.cpp file as follows, it started working:\r\nLine 74:\r\n    updateStartAddress = currentSketchSize ;//(WAS) updateEndAddress - roundedSize;\r\n\r\nWhy is the updateStartAddress different between the httpUpdate method and the WebUpdate POST example?\r\nWhat would the correct fix be?\r\n\r\nWhat a wonderful feature this OTA update is!!"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/165235695","html_url":"https://github.com/esp8266/Arduino/issues/1111#issuecomment-165235695","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1111","id":165235695,"user":{"login":"adrionics","id":14155780,"avatar_url":"https://avatars.githubusercontent.com/u/14155780?v=3","gravatar_id":"","url":"https://api.github.com/users/adrionics","html_url":"https://github.com/adrionics","followers_url":"https://api.github.com/users/adrionics/followers","following_url":"https://api.github.com/users/adrionics/following{/other_user}","gists_url":"https://api.github.com/users/adrionics/gists{/gist_id}","starred_url":"https://api.github.com/users/adrionics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrionics/subscriptions","organizations_url":"https://api.github.com/users/adrionics/orgs","repos_url":"https://api.github.com/users/adrionics/repos","events_url":"https://api.github.com/users/adrionics/events{/privacy}","received_events_url":"https://api.github.com/users/adrionics/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T20:29:38Z","updated_at":"2015-12-16T20:29:38Z","body":"I am interested in why will more return values break existing code?\r\nAlso, is \"WiFiClient::stopAllExcept(tcp)\" really necessary? "}}