You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using HTTPClient over HTTP results in a significant delay on the last packet (around 5 seconds), whereas this delay doesn’t occur over HTTPS. In general, HTTPS is also noticeably faster, which is surprising since encryption is expected to add some overhead.
The file being downloaded is the same in both cases, from the same server, and the only difference in the URL is whether it starts with HTTP or HTTPS.
Could someone help me understand if I’m doing something wrong, or if this might be a bug?”
rvbc1
changed the title
HTTPClient big lag on end on HTTP not on HTTPS
Significant Lag on Last Packet with HTTPClient over HTTP, but Not HTTPS
Nov 12, 2024
Unfortunately, the proposed solution did not help. That said, isn’t it a bug that when connecting via HTTP, the stream, after downloading the entire resource, waits for a timeout instead of terminating on its own? It seems it should automatically close after the resource is fully downloaded. Especially since this works perfectly fine over HTTPS
Board
ESP32-S3-DevKitC
Device Description
DevKitC
Hardware Configuration
No external hardware.
Version
v3.0.7
IDE Name
Platformio
Operating System
Linux - Ubuntu 24.04
Flash frequency
40MHz
PSRAM enabled
no
Upload speed
115200
Description
My pio:
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
Using HTTPClient over HTTP results in a significant delay on the last packet (around 5 seconds), whereas this delay doesn’t occur over HTTPS. In general, HTTPS is also noticeably faster, which is surprising since encryption is expected to add some overhead.
The file being downloaded is the same in both cases, from the same server, and the only difference in the URL is whether it starts with HTTP or HTTPS.
Could someone help me understand if I’m doing something wrong, or if this might be a bug?”
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: