Skip to content

Commit

Permalink
Merge pull request #218 from php-http/no-dangerous-config
Browse files Browse the repository at this point in the history
do not use dangerous configuration in examples
  • Loading branch information
joelwurtz committed Dec 28, 2017
2 parents 344b487 + a6bfdff commit 4150a00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/symfony-bundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ show how you configure factory classes using Guzzle:
uri_factory: Http\Message\UriFactory\GuzzleUriFactory
stream_factory: Http\Message\StreamFactory\GuzzleStreamFactory
Configure Clients
`````````````````

Expand All @@ -184,8 +182,10 @@ services.
acme:
factory: 'httplug.factory.curl'
config:
# timeout if connection is not established after 4 seconds
CURLOPT_CONNECTTIMEOUT: 4
CURLOPT_SSL_VERIFYHOST: false
# throttle sending data if more than ~ 1MB / second
CURLOPT_MAX_SEND_SPEED_LARGE: 1000000
.. code-block:: php
Expand Down

0 comments on commit 4150a00

Please sign in to comment.