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

Corrected missed edit for _recv() in ASYNC_TCP_SSL_ENABLED #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeroenst
Copy link

@jeroenst jeroenst commented Jul 6, 2020

Rebased #129 as requested by https://github.com/kleini

@me-no-dev Please apply this pull request so building of SSL with ESPAsyncTCP works again.

…rver::_poll().

And other missed edit for errorTracker around ASYNC_TCP_SSL_ENABLED.
This should resolve @kasedy comment me-no-dev#115 (comment)
and @mcspr.

Tested ASYNC_TCP_SSL_ENABLED using marvinroger/async-mqtt-client/
.. examples/FullyFeaturedSSL. Ran test against test.mosquitto.org's
server. Thanks to @mcspr for suggesting.

Updated tcp_ssl_read() to check for fd_data being freed by callback
functions. I observed this with asyncmqttclient example. When finger
print did not match during fd_data->on_handshake callback, the mqtt
library did a close(true) which rippled down to an tcp_ssl_free().

Improvements in debug printing to handle debug print from tcp.axtls.c.
@jeroenst jeroenst changed the title Corrected missed edit for _recv() in ASYNC_TCP_SSL_ENABLED in AsyncS… Corrected missed edit for _recv() in ASYNC_TCP_SSL_ENABLED Jul 6, 2020
@jeroenst
Copy link
Author

jeroenst commented Apr 11, 2021

@me-no-dev please merge this pull request.

@Pablo2048
Copy link

@me-no-dev please merge this pull request.

Unfortunately it make no sense IMHO because upcoming release 3.0.0 of the ESP8266 Core drops out AXTLS support. It seems like we do need BearSSL support in ESPAsyncTCP...

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.

None yet

3 participants