You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
I have written a Rest API for an OTA update. Basically, this works great, but as soon as I execute the request#send method during the upload process (several times), the web server hangs and no new requests are accepted and existing ones. If I remove all request#send calls, nothing hangs anymore. How can I make the web server report the upload status to the client but not hang up? Unfortunately, I have not found an explanation for this in the sample code.
Look at the Update class, there is an opportunity to put a callback on &onProgress(THandlerFunction_Progress fn); with it, you can track the file upload process and save data to the global area. Then use the web server to return the data to the user.
Hello everyone,
I have written a Rest API for an OTA update. Basically, this works great, but as soon as I execute the request#send method during the upload process (several times), the web server hangs and no new requests are accepted and existing ones. If I remove all request#send calls, nothing hangs anymore. How can I make the web server report the upload status to the client but not hang up? Unfortunately, I have not found an explanation for this in the sample code.
The text was updated successfully, but these errors were encountered: