mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
Fix for download function
This commit is contained in:
parent
a448052eb2
commit
1d6bec2b76
@ -92,6 +92,7 @@ HttpDownloadEvent http_download_run(const std::string& url, const std::string& c
|
|||||||
config.method = HTTP_METHOD_GET;
|
config.method = HTTP_METHOD_GET;
|
||||||
config.timeout_ms = 5000;
|
config.timeout_ms = 5000;
|
||||||
config.transport_type = HTTP_TRANSPORT_OVER_SSL;
|
config.transport_type = HTTP_TRANSPORT_OVER_SSL;
|
||||||
|
config.addr_type = HTTP_ADDR_TYPE_INET;
|
||||||
|
|
||||||
// Total free can look fine while a fragmented heap still can't satisfy one large-enough
|
// Total free can look fine while a fragmented heap still can't satisfy one large-enough
|
||||||
// allocation. Logging both makes a future ALLOC_FAILED here diagnosable from the log alone.
|
// allocation. Logging both makes a future ALLOC_FAILED here diagnosable from the log alone.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user