You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use: lib_deps=ESP32Async/AsyncTCP to point to latest version
Use: lib_deps=ESP32Async/AsyncTCP @ ^<x.y.z> to point to latest version with the same major version
Use: lib_deps=ESP32Async/AsyncTCP @ <x.y.z> to always point to the same version (reproductible build)
AsyncClient and AsyncServer
The base classes on which everything else is built. They expose all possible scenarios, but are really raw and require more skills to use.
Important recommendations
Most of the crashes are caused by improper configuration of the library for the project.
Here are some recommendations to avoid them.
I personally use the following configuration in my projects:
-D CONFIG_ASYNC_TCP_MAX_ACK_TIME=5000// (keep default)
-D CONFIG_ASYNC_TCP_PRIORITY=10// (keep default)
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=64// (keep default)
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1// force async_tcp task to be on same core as the app (default is core 0)
-D CONFIG_ASYNC_TCP_STACK_SIZE=4096// reduce the stack size (default is 16K)