ESP3D icon indicating copy to clipboard operation
ESP3D copied to clipboard

[FEATURE REQUEST]Add support for alternate webserver library

Open luc-github opened this issue 5 years ago • 6 comments
trafficstars

  • There is nice library for esp32 that seems more close in feature from esp8266 than current embedded esp32 https://github.com/fhessel/esp32_https_server

Seems even support async way and several clients - need to benchmark it but it may be the solution for the slow upload and file download in http way vs embedded esp32 webserver

Last but not least it supports HTTPS which is in future must be implemented in ESP3D https://techtutorialsx.com/2019/04/07/esp32-https-web-server/

for transition period it even provide a wrapper : https://github.com/fhessel/esp32_https_server_compat, and add experimental support of esp32 websocket

It is actively supported so all is benefit ^_^

Need to do some bechmark but very promising

  • Add back AsyncWebServer is also in plan https://github.com/me-no-dev/ESPAsyncWebServer

Note: For esp8266, the https webserver is already supported (https://www.onetransistor.eu/2019/04/https-server-on-esp8266-nodemcu.html) but memory is more tight in esp8266 so need to test it can handle esp3D

luc-github avatar Aug 02 '20 06:08 luc-github

@luc-github Have you testede this yet? Would be great to have faster file transfer...

ETE-Design avatar Nov 07 '20 19:11 ETE-Design

no I did not the goal of this is https - not sure the file transfer will be faster with this server as need to do benchmark as mentioned - or do you have insight ?

luc-github avatar Nov 07 '20 19:11 luc-github

the plan of this will be after 3.0 so may be 3.1

luc-github avatar Nov 07 '20 19:11 luc-github

\O/ | AsyncWebserver is back in game https://github.com/me-no-dev/ESPAsyncWebServer /\

luc-github avatar Feb 04 '21 11:02 luc-github

Additionnal update: SecureWebServer is coming in 2.0 esp32 core 😸 https://github.com/espressif/arduino-esp32/issues/3902#issuecomment-781258806

luc-github avatar Feb 19 '21 09:02 luc-github

additional potential library to bench for ESP32 https://github.com/khoih-prog/WiFiWebServer

luc-github avatar Mar 20 '22 07:03 luc-github

ESP3D-TFT use light httpd and so far so good - did not tried the https but it is well supported, I have coded the multipart POST support so moving to idf when esp8266 is end of life will definitly the way to go

luc-github avatar Mar 22 '23 00:03 luc-github

This was open for a long time and no solution so far so let's close it

luc-github avatar Oct 05 '23 05:10 luc-github

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Oct 16 '23 00:10 github-actions[bot]