summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HouseControl.ino5
1 files changed, 5 insertions, 0 deletions
diff --git a/HouseControl.ino b/HouseControl.ino
index 95e3c0b..160eac0 100644
--- a/HouseControl.ino
+++ b/HouseControl.ino
@@ -429,6 +429,11 @@ void configGetHandler(WebServer &server, WebServer::ConnectionType type, char *u
void configSetHandler(WebServer &server, WebServer::ConnectionType type, char *url_tail, bool tail_complete) {
if (type == WebServer::POST) {
+ bool repeat;
+ do {
+ repeat = server.readPOSTparam((char*)buf2, BUF2_SIZE, (char*)buf1, BUF1_SIZE);
+
+ } while (repeat);
server.httpSuccess();
server.write("OK");
return;