mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
50_MOBILEALERTSGW: Send http 200 after receive before decode to prevent timeout.
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19394 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ce8073d4d8
commit
8dbea4a41f
@ -464,14 +464,14 @@ sub MOBILEALERTSGW_Read($$) {
|
||||
if ( $actioncode eq "00" ) {
|
||||
Log3 $MA_wname, 4,
|
||||
"$MA_wname MOBILEALERTSGW: $MA_cname: Initrequest from $gwserial $gwmac";
|
||||
MOBILEALERTSGW_DecodeInit( $hash, $POSTdata );
|
||||
MOBILEALERTSGW_DefaultAnswer($hash);
|
||||
MOBILEALERTSGW_DecodeInit( $hash, $POSTdata );
|
||||
}
|
||||
elsif ( $actioncode eq "C0" ) {
|
||||
Log3 $MA_wname, 4,
|
||||
"$MA_wname MOBILEALERTSGW: $MA_cname: Data from $gwserial $gwmac";
|
||||
MOBILEALERTSGW_DecodeData( $hash, $POSTdata );
|
||||
MOBILEALERTSGW_DefaultAnswer($hash);
|
||||
MOBILEALERTSGW_DecodeData( $hash, $POSTdata );
|
||||
}
|
||||
else {
|
||||
TcpServer_WriteBlocking( $MA_chash,
|
||||
|
Loading…
x
Reference in New Issue
Block a user