When I increase timeout by double then it start working for my every http request but it increase execution time directly double.
Execution time also getting doubled for mail also.
When I set curl adapter with zend http request then it working as it was normally work.
http request format:
- Code: Select all
$client = new Zend_Http_Client($url, array('timeout' => 60));
$response = $client->request($method);
Configuration localhost and server
localhost(ubuntu) php and zend version
PHP 5.5.9-1ubuntu4.20 (cli) (built: Oct 3 2016 13:00:37)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
Server(centos) php and zend version
PHP 5.5.30 (cli) (built: Oct 20 2015 19:50:17)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies with the Example PHP Loader + Intrusion Protection from Example com (disabled) v5.0.7, Copyright (c) 2002-2015, by Example Ltd. with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies