-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
How to get bytes bigger than 1024 from int httpd_req_recv(httpd_req_t *r, char *buf, size_t buf_len) (IDFGH-14202) #15000
Comments
Hello @zzzh, Could you kindly provide more details about what you aim to achieve by modifying buf_len? Additionally, it would be very helpful if you could share the patch file for the changes you've made related to this issue. Please also share any relevant debug logs and examples of your modifications so that we can replicate and analyze the issue on our side. Looking forward to your input! |
Hello, @nileshkale123, I think increase the size of each transfer may speed up the whole upload progress, that's why. |
There is no limit to the size of data received by The return value of When using a 2048-byte buffer, processing is performed in 2048-byte units as shown below.
When using a 4096-byte buffer, processing is performed in 4096-byte units as shown below.
When using a 4096-byte buffer, a 1M byte transfer will complete in 1.5 second.
I used this to send.
There may be a problem on your sending side. |
Hi, nopnop2002, Good to know, what version of esp-idf did you test on? |
$ git describe --tags |
ok, I'll test it on the latest version. |
Answers checklist.
General issue report
I tried to set buf_len to 5120 or 10240 but useless, the return value is limited up to 1024.
How to change it?
The text was updated successfully, but these errors were encountered: