From 47f1fe11af6a5ad07fa993592e56f265ec33150e Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 26 Mar 2014 23:17:18 +0000 Subject: [PATCH] HttpUtils: no shutdown for https git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@5335 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/HttpUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/HttpUtils.pm b/FHEM/HttpUtils.pm index b1351d2d8..83dc16b8e 100644 --- a/FHEM/HttpUtils.pm +++ b/FHEM/HttpUtils.pm @@ -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();