mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
01_FHEMWEB.pm: check for defined FW_useragent (Forum #41901)
git-svn-id: https://svn.fhem.de/fhem/trunk@9397 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
462b6185e4
commit
06186947bf
@ -479,7 +479,7 @@ FW_closeConn($)
|
||||
my ($hash) = @_;
|
||||
if(!$hash->{inform} && !$hash->{BUF}) { # Forum #41125
|
||||
my $cc = AttrVal($hash->{SNAME}, "closeConn",
|
||||
$FW_userAgent=~m/(iPhone|iPad|iPod)/);
|
||||
$FW_userAgent && $FW_userAgent=~m/(iPhone|iPad|iPod)/);
|
||||
if(!$FW_httpheader{Connection} || $cc) {
|
||||
TcpServer_Close($hash);
|
||||
delete($defs{$hash->{NAME}});
|
||||
|
Loading…
x
Reference in New Issue
Block a user