Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ff90778

Browse filesBrowse files
committed
Fix HTTP client returning disconnected when there is still data avalable
1 parent 4e9d1ee commit ff90778
Copy full SHA for ff90778

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎libraries/HTTPClient/src/HTTPClient.cpp

Copy file name to clipboardExpand all lines: libraries/HTTPClient/src/HTTPClient.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void HTTPClient::end(void)
252252
bool HTTPClient::connected()
253253
{
254254
if(_tcp) {
255-
return (_tcp->connected() || (_tcp->available() > 0));
255+
return ((_tcp->available() > 0) || _tcp->connected());
256256
}
257257
return false;
258258
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.