Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESP32-audioI2S
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ESP32-audioI2S
Commits
f8e5e706
Unverified
Commit
f8e5e706
authored
Jul 18, 2022
by
Wolle
Committed by
GitHub
Jul 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trouble with connection timeouts #342
parent
1037680b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Audio.cpp
src/Audio.cpp
+2
-2
No files found.
src/Audio.cpp
View file @
f8e5e706
...
...
@@ -452,7 +452,7 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
strcat
(
rqh
,
"User-Agent: Mozilla/5.0
\r\n
"
);
strcat
(
rqh
,
"Connection: keep-alive
\r\n\r\n
"
);
if
(
ESP_ARDUINO_VERSION_MAJOR
==
2
&&
ESP_ARDUINO_VERSION_MINOR
==
0
&&
ESP_ARDUINO_VERSION_PATCH
=
=
3
){
if
(
ESP_ARDUINO_VERSION_MAJOR
==
2
&&
ESP_ARDUINO_VERSION_MINOR
==
0
&&
ESP_ARDUINO_VERSION_PATCH
>
=
3
){
m_timeout_ms_ssl
=
UINT16_MAX
;
// bug in v2.0.3 if hostwoext is a IPaddr not a name
m_timeout_ms
=
UINT16_MAX
;
// [WiFiClient.cpp:253] connect(): select returned due to timeout 250 ms for fd 48
}
...
...
@@ -4471,4 +4471,4 @@ int Audio::ts_parsePacket(uint8_t *packet, uint8_t *data)
return
read
;
}
//----------------------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------------------
\ No newline at end of file
//----------------------------------------------------------------------------------------------------------------------
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment