Skip to content

Fix EventSource ::send #1

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 2 commits into from
Jul 29, 2020
Merged

Fix EventSource ::send #1

merged 2 commits into from
Jul 29, 2020

Conversation

OttoWinter
Copy link
Member

@OttoWinter OttoWinter commented Jul 29, 2020

See also https://github.com/OttoWinter/ESPAsyncTCP/pull/2\#issuecomment-665466505

Sorry for all the whitespace changes, my editor is set up to auto-trim trailing whitespace. The main changes are in AsyncEventSource::send and webSocketSendFrame (when send() fails, the data still got added to the pcb, so don't return 0)

Also increases SEE_MAX_QUEUED_MESSAGES to 32 on ESP8266

@OttoWinter OttoWinter changed the title Create fork for esphome Fix EventSource ::send Jul 29, 2020
@OttoWinter OttoWinter merged commit 40c37b9 into master Jul 29, 2020
@OttoWinter OttoWinter deleted the fix-event-source branch July 29, 2020 07:18
CircuitSetup added a commit to CircuitSetup/ESPAsyncWebServer that referenced this pull request Sep 4, 2020
From esphome#1

The main changes are in AsyncEventSource::send and webSocketSendFrame (when send() fails, the data still got added to the pcb, so don't return 0)

Also increases SEE_MAX_QUEUED_MESSAGES to 32 on ESP8266
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.

1 participant