Skip to content

Commit a651764

Browse files
committed
Workaround for the bug in WiFiClient::stop where it doesn't flush the buffer between connections
1 parent a4c623c commit a651764

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CosmClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ int CosmClient::put(CosmFeed& aFeed, const char* aApiKey)
5050
ret = ret * -1;
5151
}
5252
}
53+
http.flush();
5354
http.stop();
5455
}
5556
return ret;

0 commit comments

Comments
 (0)