mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
01_FHEMWEB.pm: avoid closeConn if the writebuffer is not empty (Forum #88470)
git-svn-id: https://svn.fhem.de/fhem/trunk@19335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
00d0b9bc53
commit
8f6d19e844
@ -737,7 +737,8 @@ sub
|
|||||||
FW_closeConn($)
|
FW_closeConn($)
|
||||||
{
|
{
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
if(!$hash->{inform} && !$hash->{BUF}) { # Forum #41125
|
# Forum #41125, 88470
|
||||||
|
if(!$hash->{inform} && !$hash->{BUF} && !defined($hash->{".WRITEBUFFER"})) {
|
||||||
my $cc = AttrVal($hash->{SNAME}, "closeConn",
|
my $cc = AttrVal($hash->{SNAME}, "closeConn",
|
||||||
$FW_userAgent =~ m/(iPhone|iPad|iPod)/);
|
$FW_userAgent =~ m/(iPhone|iPad|iPod)/);
|
||||||
if(!$FW_httpheader{Connection} || $cc) {
|
if(!$FW_httpheader{Connection} || $cc) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user