Issues

ZF-8860: Zend_Service_WindowsAzure requires cURL

Issue Type: Bug Created: 2010-01-18T10:52:49.000+0000 Last Updated: 2010-01-18T13:05:22.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Marc Bennewitz (private) (mabe) Assignee: Maarten Balliauw (maartenba) Tags: - Zend_Service_WindowsAzure

Related issues: Attachments:

Description

Zend_Service_WindowsAzure_Storage::__construct generates a default Zend_Http_Client with constants of CURLOPT_*

Comments

Posted by Maarten Balliauw (maartenba) on 2010-01-18T12:44:01.000+0000

The constants will remain in there, but will only be used if function_exists(' curl_init'). Leaving the initialization out would cause inconvenience for users wanting to take advantage of cURL.

Posted by Marc Bennewitz (private) (mabe) on 2010-01-18T12:56:49.000+0000

Are you sure:

<pre class="highlight">
D:\Users\mabe\workspace\Zend>"D:\Users\mabe\Program Files\php\debug\php5.2.9\php
.exe" ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\AllTests.php
PHPUnit 3.3.9 by Sebastian Bergmann.

...................EE

Time: 1 second

There were 2 errors:

1) testConstructorForDevstore(Zend_Service_WindowsAzure_StorageTest)
Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATI
ON'
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\library\Zend\Service\WindowsAzure\Stor
age.php:217
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\Storag
eTest.php:58
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\AllTes
ts.php:57
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\AllTes
ts.php:90

2) testConstructorForProduction(Zend_Service_WindowsAzure_StorageTest)
Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATI
ON'
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\library\Zend\Service\WindowsAzure\Stor
age.php:217
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\Storag
eTest.php:67
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\AllTes
ts.php:57
D:\Users\mabe\workspace\Zend\ZF-STD-TRUNK\tests\Zend\Service\WindowsAzure\AllTes
ts.php:90

FAILURES!
Tests: 21, Assertions: 43, Errors: 2.



<pre class="highlight">
[PHP Modules]
bcmath
bz2
calendar
com_dotnet
ctype
date
dom
filter
ftp
gd
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mhash
mysqli
odbc
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
pgsql
Reflection
session
SimpleXML
soap
SPL
SQLite
standard
tokenizer
wddx
XCache
xdebug
xml
xmlreader
xmlwriter
xsl
zlib

[Zend Modules]
XCache
Xdebug

Posted by Maarten Balliauw (maartenba) on 2010-01-18T13:01:19.000+0000

Still have to commit to SVN though :-)

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts