ZF-9685: Call to undefined method Zend_Http_Client::close()

Issue Type: Bug Created: 2010-04-15T06:06:47.000+0000 Last Updated: 2010-04-19T11:45:47.000+0000 Status: Resolved Fix version(s): - 1.10.4 (28/Apr/10)

Reporter: Kazusuke Sasezaki (sasezaki) Assignee: Michelangelo van Dam (dragonbe) Tags: - Zend_Http_Client

Related issues: Attachments:


Zend_Http_Client _openTempStream() calls "$this->close". But, it is not undefiend.

So errors occurred. "Fatal error: Call to undefined method Zend_Http_Client::close() in /usr/share/php/Zend/Http/Client.php on line 915"

Is this not "$this->getAdapter()->close()" ?


Posted by Michelangelo van Dam (dragonbe) on 2010-04-16T15:12:47.000+0000

added a close() method in the Zend_Http_Client class, including some tests

Posted by Shahar Evron (shahar) on 2010-04-19T11:45:44.000+0000

Re-did fix to call $this->adapter->close() instead, removed the newly-added close() method. Other than that all other modifications and unit tests by DragonBE were kept (thanks!)

Resolved in CS-21951, merged to release branch in CS-21952

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.