Skip to content

esp32 esp-idf v4.4.4 mongoose.ws 7.10 crashes during websocket update #2232

Discussion options

You must be logged in to vote

I can't guess what you are doing, nevertheless the word 'Task' above sends shivers down my spine.

From the docs

NOTE: Since Mongoose's core is not protected against concurrent accesses, make sure that all mg_* API functions are called from the same thread or RTOS task.

If you absolutely need multi-threading, take the time to go through the user guide (linked above) and tutorials, there is one that shows you how to do multi-threading.

If my guessing was wrong, please open an issue, fill the issue template, and provide the minimum piece of code to reproduce your issue.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by scaprile
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants