-
Notifications
You must be signed in to change notification settings - Fork 182
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
HTTP server handler sends wrong events and panics #519
Comments
What is the ESP IDF version you are compiling against? |
Ah yes forgot about this. esp-idf-svc: v0.49.1 |
That's very weird. Where it breaks it should absolutely not break or else ESP IDF has a bug (which I doubt). Can you increase the system events' task size? You might have a stack smashing case that goes undetected by FreeRTOS... |
Yes, for sure. Edit: I think you meant this one: |
So I have increased
|
Hello everyone,
I have observed a strange behavior of the http server. I'm not quite sure if it's my fault as this is my first esp project.
I have a simple project which should realize ota over a http server. I have a wifi service that connects in STA mode on my network. Additionally I listen for wifi events to reconnect if necessary. I also have an /update handler that accepts a firmware file and then installs it via the ota server. Here is the stripped down code:
The error I have observed is that StaDisconnected events are thrown when the handler processes the request buffer. Here is some snipit frm it:
After many many of the above logs the application crashes with:
To summarize, the http handler sends wifi events for some reason and ends up crashing. Does anyone have any idea what I'm doing wrong or if it's actually a bug?
The text was updated successfully, but these errors were encountered: