HTTPS web server and FTP server

accacca
Posts: 33
Joined: Mon Aug 06, 2018 4:59 pm

HTTPS web server and FTP server

Postby accacca » Mon Aug 15, 2022 7:35 am

Maybe trivial question is my first project with lwip
In my application I aded the HTTPS webserver.
webserver files are stored in SDIO card with SPI interface
I thought it was convenient to have the ability to update web pages using an FTP server
I found this and it works perfectly
https://github.com/nopnop2002/esp-idf-ftpServer

Separately activated the HTTPS web server and the FTP server are ok, however, when I enable them at the same time the transfers of the FTP server (file readings from SD) are blocked randomly and all Wifi connection (STA mode) crash.
This is a lwip debug image while reading file
lwip_log.jpg
lwip_log.jpg (136.84 KiB) Viewed 1240 times
I have no experience and I don't know if this suggests anything to help me understand the problem.
I also doubt that it is a trivial memory allocation problem
from Wireshark log I see a retransmission frame (after retransmission frame (14336 bytes sent) After thsi frame FTP server send two other frames but after send the scond frame it stop working
Immagine.jpg
Immagine.jpg (383.41 KiB) Viewed 1240 times

I forgot while FTP transfers files, the HTTPS server is idle with no client connected

Who is online

Users browsing this forum: Baidu [Spider], ESP_Roland, ESP_rrtandler and 122 guests