Commit f858b28
committed
audio: rework HTTP timeout behaviour
Something between ESP-IDF v5.1.1 and 5.3.3 changed that causes the 10s
timeout we set in the HTTP_STREAM_POST_REQUEST callback to be ignored
when using HTTPS. Due to this, people with slower WIS cannot use Willow
0.4 anymore. Set the timeout to 10s in HTTP_STREAM_PRE_REQUEST to not
use the ESP-ADF http_stream hardcoded default of 30s.
If WIS is not running, or the user configured a wrong IP or port, the
transport layer detects the problem early anyway.1 parent ae4b51a commit f858b28
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 227 | | |
232 | 228 | | |
233 | 229 | | |
| |||
572 | 568 | | |
573 | 569 | | |
574 | 570 | | |
575 | | - | |
576 | 571 | | |
577 | 572 | | |
578 | 573 | | |
| |||
589 | 584 | | |
590 | 585 | | |
591 | 586 | | |
592 | | - | |
593 | 587 | | |
594 | 588 | | |
595 | 589 | | |
| |||
0 commit comments