Feature #43903

CurlEngine should support setting of options

Added by Karsten Dambekalns over 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2012-12-12
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Http
Target version:TYPO3 Flow Base Distribution - 2.1
PHP Version: Complexity:
Has patch:No

Description

To use a proxy with the CurlEngine, one currently has to hack the options directly into the code.

Associated revisions

Revision 1c2e454e
Added by Karsten Dambekalns over 2 years ago

[FEATURE] Add setOption() to CurlEngine

This allows to configure cURL in the CurlEngine. Examples for use are
proxy server settings or SSL certification handling::

$engine = new CurlEngine();
$engine->setOption(CURLOPT_PROXY, '127.0.0.1');
$engine->setOption(CURLOPT_PROXYPORT, 8888);

In addition the singleton scope of the CurlEngine is removed.

Change-Id: I5054c91c8b61f6f2d14eba14b86136946c897115
Resolves: #43903
Releases: master

Revision 31ad55a7
Added by Karsten Dambekalns about 2 years ago

[FEATURE] Add setOption() to CurlEngine

This allows to configure cURL in the CurlEngine. Examples for use are
proxy server settings or SSL certification handling::

$engine = new CurlEngine();
$engine->setOption(CURLOPT_PROXY, '127.0.0.1');
$engine->setOption(CURLOPT_PROXYPORT, 8888);

In addition the singleton scope of the CurlEngine is removed.

Change-Id: I5054c91c8b61f6f2d14eba14b86136946c897115
Resolves: #43903
Releases: master

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17121

#2 Updated by Karsten Dambekalns over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Gerrit Code Review about 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/21307

#4 Updated by Robert Lemke about 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF