mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 05:01:57 +00:00
50_HP1000: add some HttpUtils_NonblockingGet() settings
git-svn-id: https://svn.fhem.de/fhem/trunk@13749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
13e61053da
commit
3a8ba3ec6f
@ -1244,8 +1244,16 @@ sub HP1000_PushSrv($$) {
|
|||||||
noshutdown => $http_noshutdown,
|
noshutdown => $http_noshutdown,
|
||||||
data => undef,
|
data => undef,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
httpversion => "1.1",
|
|
||||||
callback => \&HP1000_ReturnSrv,
|
callback => \&HP1000_ReturnSrv,
|
||||||
|
httpversion => "1.1",
|
||||||
|
loglevel => AttrVal( $name, "httpLoglevel", 5 ),
|
||||||
|
header => {
|
||||||
|
Agent => 'FHEM-HP1000/1.0.0',
|
||||||
|
'User-Agent' => 'FHEM-HP1000/1.0.0',
|
||||||
|
},
|
||||||
|
sslargs => {
|
||||||
|
SSL_verify_mode => 0,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1333,6 +1341,12 @@ sub HP1000_PushWU($$) {
|
|||||||
data => undef,
|
data => undef,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
callback => \&HP1000_ReturnWU,
|
callback => \&HP1000_ReturnWU,
|
||||||
|
httpversion => "1.1",
|
||||||
|
loglevel => AttrVal( $name, "httpLoglevel", 5 ),
|
||||||
|
header => {
|
||||||
|
Agent => 'FHEM-HP1000/1.0.0',
|
||||||
|
'User-Agent' => 'FHEM-HP1000/1.0.0',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user