me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
750 stars 432 forks source link

How to pause receiving uploads from client #170

Open vuthaitdp1 opened 1 year ago

vuthaitdp1 commented 1 year ago

How to pause receiving uploads from client on buffer overflow until buffer is partially released (asyncTCP server)

Vorms commented 10 months ago

Good question. I am concerned for. I do Modbus transaction in RTU (serial) mode. Some times, the esp32 miss receiving char and there is a timeout error in the transaction. I know it's possible to change the priority of the task (from 3 to 1) but ther is no suffisiant for solving the problem.