Skip to content

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Apr 15, 2021

  • remove deprecated WiFiClient::write(Stream,size)
  • fix and deprecate WiFiClient::write(Stream) to use Stream::sendAll instead of ::sendAvailable
  • update ESP8266WebServer::streamFile to use file.sendAll(client) instead of client.write(file)

fixes #7982

edit:

  • remove Stream dependency in ClientContext::

fixes #7991

edit2: 212 flash bytes are saved when compiling mcve from #7991

- remove deprecated WiFiClient::write(Stream,size) - fix and deprecate WiFiClient::write(Stream) to use Stream::sendAll instead of ::sendAvailable - update ESP8266WebServer::streamFile to use file.sendAll(client) instead of client.write(file)
@d-a-v d-a-v added this to the 3.0.0 milestone Apr 15, 2021
@d-a-v d-a-v added the alpha included in alpha release label Apr 17, 2021
Copy link
Collaborator

@devyte devyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing jumps out at me, 👍

@d-a-v d-a-v merged commit f4178e5 into esp8266:master Apr 27, 2021
@d-a-v d-a-v deleted the streamsendfix3 branch April 27, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alpha included in alpha release

2 participants