-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
TCP overeager retransmission (IDFGH-14130) #14934
Comments
Our RTT for this connection is approximately 35ms. I haven't touched this layer of networking in a long time, it looks like the recommendation per-connection is now:
I think it's on me to record this again and try to compute values for RTTVAR and SRTT - perhaps our RTT is remarkably stable, so RTTVAR is close to zero? |
Hmm, updating u32_t sys_now(void) { |
Perhaps an LwIP issue, or an ESP integration with LwIP issue. Odd that I can't seem to find how portTICK_PERIOD_MS is mapped to |
Answers checklist.
General issue report
Sometimes(usually every 45-75 seconds but sometimes within a few seconds) during a WebSocket connection on ESP-IDF 5.1.2, the ESP32's TCP stack will send a TCP retransmission very quickly, well before the retransmission time-out should've fired. This then causes the server to emit a duplicate acknowledgement unneccesarily, and generally increases data transfer overhead:
Here are the relevant LwIP configurations I thought might be important:
I attach the others here: sdkconfig_lwip.txt
The text was updated successfully, but these errors were encountered: