diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index febc3b22a..7ed582499 100755 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -125,6 +125,7 @@ FHEMWEB_Initialize($) allowfrom basicAuth basicAuthMsg + closeConn:1,0 column defaultRoom endPlotNow:1,0 @@ -383,6 +384,13 @@ FW_Read($) $expires, $compressed, $FW_headercors, "Content-Type: $FW_RETTYPE\r\n\r\n", $FW_RET; + + # Needed for slow server+iPad/iPhone. Forum #20294 + if(AttrVal($FW_wname, "closeConn", undef)) { + TcpServer_Close($hash); + delete($defs{$hash->{NAME}}); + } + exit if(defined($pid)); } @@ -2905,6 +2913,14 @@ FW_ActivateInform() Note: some elements like SVG plots and readingsGroup can only be part of a column if they are part of a group. + + +