Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/esp8266 http client #5220

Merged
merged 4 commits into from
Oct 11, 2018
Merged

Bugfix/esp8266 http client #5220

merged 4 commits into from
Oct 11, 2018

Conversation

Jeroen88
Copy link
Contributor

Fix for issue #5216 + minor changes: removing unnecessary tests and make sure that end() also closes the connection if it was a Keep-Alive connection.
Changed BasicHttpsClient.ino to also allocate the BearSSL::WiFiClientSecure on the heap in stead of on the stack.

@Jeroen88 Jeroen88 mentioned this pull request Oct 10, 2018
6 tasks
@earlephilhower earlephilhower merged commit c8497da into esp8266:master Oct 11, 2018
@Jeroen88
Copy link
Contributor Author

@earlephilhower I looked at the diff and see that everywhere _canReuse is set to false just before the call to ::end(). But ::end() also sets _canReuse to false. It doesn't harm, but it isn't necessary. I create another PR.

suculent pushed a commit to thinx-cloud/Arduino that referenced this pull request Oct 16, 2018
…Arduino into i2c_slave_by_bjoham

* 'i2c_slave_by_bjoham' of https://github.com/thinx-cloud/Arduino:
  Update debugging.rst (esp8266#5234)
  ESP8266httpClient crash-on-destructor bugfix (esp8266#5220)
  Add stack repainting call to ESP class (esp8266#5221)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants