HttpUtils: no shutdown for https

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-03-26 23:17:18 +00:00
parent b2ed5065a1
commit 47f1fe11af

View File

@ -199,7 +199,7 @@ HttpUtils_Connect2($)
$hdr .= "\r\n";
syswrite $hash->{conn}, $hdr;
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
$hash->{FD} = $hash->{conn}->fileno();