mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
HttpUtils: no shutdown for https
git-svn-id: https://svn.fhem.de/fhem/trunk@5335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
90f955d0f3
commit
c09ca50074
@ -199,7 +199,7 @@ HttpUtils_Connect2($)
|
|||||||
$hdr .= "\r\n";
|
$hdr .= "\r\n";
|
||||||
syswrite $hash->{conn}, $hdr;
|
syswrite $hash->{conn}, $hdr;
|
||||||
syswrite $hash->{conn}, $data if(defined($data));
|
syswrite $hash->{conn}, $data if(defined($data));
|
||||||
shutdown $hash->{conn}, 1 if(!$hash->{noshutdown});
|
shutdown $hash->{conn}, 1 if(!$hash->{noshutdown} && $hash->{protocol} ne "https");
|
||||||
|
|
||||||
if($hash->{callback}) { # Nonblocking read
|
if($hash->{callback}) { # Nonblocking read
|
||||||
$hash->{FD} = $hash->{conn}->fileno();
|
$hash->{FD} = $hash->{conn}->fileno();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user