Asking for help!!! "OTA using web server"

tasaf1
Posts: 1
Joined: Fri Mar 15, 2019 8:54 am

Asking for help!!! "OTA using web server"

Postby tasaf1 » Fri Mar 15, 2019 9:15 am

Dear,
I use web server to send "*.bin" file, and use "post handler" to receive data.

Code: Select all

...
$.ajax({\
url: '/echo',
type: 'POST',
data: data
...

Code: Select all

httpd_uri_t echo = {
    .uri       = "/echo",
    .method    = HTTP_POST,
    .handler   = echo_post_handler,
    .user_ctx  = NULL
};
The app runs well when the size of bin file lower 200kb. But when i upload a larger file (700kb), "post handler" receives about 134 kb and stop, display "httpd_sock_err: error in send : 104"
Could someone help me please! Thanks so much!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 19 guests