Skip to content

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