Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
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
arduino-esp32
Commits
254c5e43
Unverified
Commit
254c5e43
authored
Aug 31, 2024
by
Me No Dev
Committed by
GitHub
Aug 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(http): Replace flush() with clear() in HTTPClient (#10269)
Following deprecation of flush()
parent
4c1095b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/HTTPClient/src/HTTPClient.cpp
libraries/HTTPClient/src/HTTPClient.cpp
+1
-1
No files found.
libraries/HTTPClient/src/HTTPClient.cpp
View file @
254c5e43
...
...
@@ -371,7 +371,7 @@ void HTTPClient::disconnect(bool preserveClient) {
if
(
connected
())
{
if
(
_client
->
available
()
>
0
)
{
log_d
(
"still data in buffer (%d), clean up.
\n
"
,
_client
->
available
());
_client
->
flush
();
_client
->
clear
();
}
if
(
_reuse
&&
_canReuse
)
{
...
...
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