Closed AC8L closed 3 years ago
Thanks for your PR.
Just have a very quick look at the PR: the modified code, intentionally left out, will serve only ESP8266/ESP32, and will break the support for other boards, which is the main target of this library.
Could you modify the code, by adding the #if (ESP8266 || ESP32)
to ESP-specific code, so that it's still OK with the other boards.
Another preferable option is to create a new class, derived from class EthernetWebServer, e.g. ESP_EthernetWebServer for ESP boards, then modify it for only ESP32/ESP8266.
So I won't merge the unchanged PR now and am waiting for your mods.
BR
Created fresh branch with proposed changes and created new PR, closing this.
Ported functions from ESP8266WebServer and wrote custom client wrote file with bufferization.