Fixed TWDT / deadlock in AsyncTCP when sending long responses #2456
mathieucarbou
started this conversation in
General
Replies: 1 comment
-
Thanks for the hint!! Will include it in the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @tbnobody, @schlimmchen,
I don't know if you remember this issue: #1705
(I was not able to comment on it).
Turns out the past days / weeks we were able to pinpoint why AsyncTCP was crashing (or dead-locking when the TWDT was not used), on long responses or long chunk responses.
There has been a lengthy discussion around this problem here: mathieucarbou/ESPAsyncWebServer#165
A fix was implemented and tested: (we could call that a workaround or patch though because the real fix would be to get rid of the current queue design)
There is also some perf tests available in my fork and in the discussion above.
Beta Was this translation helpful? Give feedback.
All reactions