Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

When setting #define ASYNC_TCP_SSL_ENABLED 1 build fails #131

Description

@jeroenst

When I want to use the SSL feature, and enable #define ASYNC_TCP_SSL_ENABLED 1 in async_config.h I get the following build error:

/home/jeroen/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp: In member function 'err_t AsyncServer::_poll(tcp_pcb*)':
/home/jeroen/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1324:31: error: no matching function for call to 'AsyncClient::_recv(tcp_pcb*&, pbuf*&, int)'
c->_recv(pcb, p->pb, 0);
^
/home/jeroen/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp:1324:31: note: candidate is:
/home/jeroen/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp:565:6: note: void AsyncClient::_recv(std::shared_ptr&, tcp_pcb*, pbuf*, err_t)
void AsyncClient::_recv(std::shared_ptr& errorTracker, tcp_pcb* pcb, pbuf* pb, err_t err) {
^
/home/jeroen/Arduino/libraries/ESPAsyncTCP/src/ESPAsyncTCP.cpp:565:6: note: candidate expects 4 arguments, 3 provided

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions