Skip to content

HTTPClient: make clean up faster (fixes #828) #1087

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
Mar 4, 2018

Conversation

h3ndrik
Copy link
Contributor

@h3ndrik h3ndrik commented Feb 6, 2018

If the unread data is very large, cleaning up byte by byte will take a long time.
on a http radio stream easily >=60s observed.

so just flush tcp buffer instead of reading it byte by byte.

thanks to @xiruilin and @Uksa007

flush tcp buffer instead of reading it byte by byte.
@me-no-dev me-no-dev merged commit e3a5ae4 into espressif:master Mar 4, 2018
@me-no-dev
Copy link
Member

nice :)

Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
flush tcp buffer instead of reading it byte by byte.
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.

2 participants