Skip to content

Handle partial socket send #503

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

Merged
merged 1 commit into from
Jul 31, 2017
Merged

Conversation

bbx10
Copy link
Contributor

@bbx10 bbx10 commented Jul 11, 2017

send() can return a value > 0 but less than size indicating it was able to accept some of the data in buffer. The caller must try again after updating the buffer pointer and size remaining.

bbx10/WebServer_tng#1

send() can return a value > 0 but less than size indicating it was able to accept some of the data in buffer. The caller must try again after updating the buffer pointer and size remaining.
@everslick
Copy link
Contributor

I was originally reporting this issue and can confirm, that the PR fixes it. Large pages only have been served partially. Now it works as expected.

@me-no-dev
Copy link
Member

Good :) Merging

@me-no-dev me-no-dev merged commit 37ef5a4 into espressif:master Jul 31, 2017
Raienryu97 pushed a commit to Raienryu97/arduino-esp32 that referenced this pull request Aug 2, 2017
send() can return a value > 0 but less than size indicating it was able to accept some of the data in buffer. The caller must try again after updating the buffer pointer and size remaining.
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

Successfully merging this pull request may close these issues.

3 participants