Browse Source

Patching issue ZF-10152 with patch from Peter Ertel

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22576 44c647ce-9c0f-0410-b52a-842ac1e357ba
dragonbe 15 years ago
parent
commit
0707c304b8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      library/Zend/Http/Client/Adapter/Socket.php

+ 1 - 0
library/Zend/Http/Client/Adapter/Socket.php

@@ -405,6 +405,7 @@ class Zend_Http_Client_Adapter_Socket implements Zend_Http_Client_Adapter_Interf
                 } while ($chunksize > 0);
                 } while ($chunksize > 0);
             } else {
             } else {
                 $this->close();
                 $this->close();
+		require_once 'Zend/Http/Client/Adapter/Exception.php';
                 throw new Zend_Http_Client_Adapter_Exception('Cannot handle "' .
                 throw new Zend_Http_Client_Adapter_Exception('Cannot handle "' .
                     $headers['transfer-encoding'] . '" transfer encoding');
                     $headers['transfer-encoding'] . '" transfer encoding');
             }
             }