Skip to content

Ensure errors are generated if the wrong method is called to retrieve the SSL data stream. #934

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

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

lonerzzz
Copy link
Contributor

Currently, the getStream() function on the httpClient will return the stream for the non-SSL without generating errors and this will cause problems when someone tries to read the stream as there is nothing to read. The changes check whether the SSL mode is in use or not and generate an error if the method is called while SSL is in use.

… generated if the wrong method is called to retrieve the data stream.
@me-no-dev me-no-dev merged commit cfbb730 into master Dec 19, 2017
@me-no-dev me-no-dev deleted the return_correct-stream_handle branch December 19, 2017 13:06
@lonerzzz
Copy link
Contributor Author

@me-no-dev Thank you.

Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
… generated if the wrong method is called to retrieve the data stream. (espressif#934)
@Jeroen88 Jeroen88 mentioned this pull request Oct 22, 2018
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.

2 participants