Open michalpokusa opened 9 months ago
@michalpokusa I'm sorry we missed merging this. Is it ready to go? Any retesting needed since various other library changes? Thanks.
@michalpokusa I'm sorry we missed merging this. Is it ready to go? Any retesting needed since various other library changes? Thanks.
No problem. I didn't push on merging this as although this works (or did when I marked it as ready) on ESP32-S3, it is not compatible with RPico, S2 etc. Recently there were also some changes to the SSL module on CircuitPython, so I was waiting on how things play out.
I am not sure whether the MemoryError is fixed on other MCUs or if there are plans to resolve them in future.
Meanwhile this PR can be merged as is or I could add a warning that prints info about compatibility or checks the board id, or I can convert it to draft for now. Please tell me what would be best in your opinion.
Retest is always good, if you decide to merge I will do it with latest CircuitPython.
Depends on #84, #87 and https://github.com/adafruit/circuitpython/issues/9003
⭐ Added:
adafruit_httpserver
with HTTPS🛠️ Updated/Changed:
Server
constructor now acceptshttps
,certfile
andkeyfile
args that together enable HTTPS.accept()
, which includes the time of handling TLS decryption, thus the time is more "correct"🏗️ Refactor:
After fixing the issues mentioned at the top, this code should also work on other platforms than ESP32-S3.