Code Duplication    Length = 4-4 lines in 2 locations

src_experimantal/eXpansionExperimantal/Bundle/Dedimania/Classes/Webaccess.php 2 locations

@@ 954-957 (lines=4) @@
951
                    } elseif ($res !== false) {
952
                        $this->_response .= $res;
953
                    } else {
954
                        if (isset($this->_spool[0])) {
955
                            $time = microtime(true);
956
                            $this->_spool[0]['Times']['receive'][1] = $time - $this->_spool[0]['Times']['receive'][0];
957
                        }
958
                        $this->_bad('Error('.$errno.') '.$errstr.', could not read all data!');
959
960
                        return;
@@ 979-982 (lines=4) @@
976
                }
977
            }
978
979
            if (isset($this->_spool[0]['Times']['receive'][2])) {
980
                $time = microtime(true);
981
                $this->_spool[0]['Times']['receive'][2] += ($time - $time0);
982
            }
983
984
            // get headers and full message
985
            $state = $this->_handleHeaders();