Skip to content
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

func req_process_download in esp_request.c "eats" payload data #14

Open
ziolelle opened this issue Apr 10, 2018 · 0 comments
Open

func req_process_download in esp_request.c "eats" payload data #14

ziolelle opened this issue Apr 10, 2018 · 0 comments

Comments

@ziolelle
Copy link

If some payload data is received in the same buffer where you receive http headers, that payload is missed.
The way I found to permit this funxtion to work correctly also in this situation is to avoid the check if the buffer is at eof:

line 637 and following:

if(process_header == 0)
        {
            //if(req->buffer->at_eof) {
				printf("***** BBB\n");
                fill_buffer(req);
            //}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant