We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c58108 commit 0440913Copy full SHA for 0440913
InfluxDb.cpp
@@ -164,6 +164,8 @@ boolean Influxdb::write(String data) {
164
Serial.print(httpResponseCode);
165
166
#if defined(ESP32)
167
+ // The ESP32 HTTP Lib seems to hang if you call getString if the server has not
168
+ // written anything in response.
169
if (http.getSize() > 0) {
170
String response = http.getString();
171
Serial.println(" \"" + response + "\"");
0 commit comments