Skip to content

Commit

Permalink
feature #12073 [FrameworkBundle][HttpClient] "max_duration" option (f…
Browse files Browse the repository at this point in the history
…ancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle][HttpClient] "max_duration" option

Doc for symfony/symfony#32807

Commits
-------

a0e1776 [FrameworkBundle][HttpClient] "max_duration" option
  • Loading branch information
OskarStark committed Aug 15, 2019
2 parents b3d776d + a0e1776 commit f20dc70
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions reference/configuration/framework.rst
Expand Up @@ -107,6 +107,7 @@ Configuration
* `proxy`_
* `resolve`_
* `timeout`_
* `max_duration`_
* `verify_host`_
* `verify_peer`_

Expand Down Expand Up @@ -134,6 +135,7 @@ Configuration
* `query`_
* `resolve`_
* `timeout`_
* `max_duration`_
* `verify_host`_
* `verify_peer`_

Expand Down Expand Up @@ -948,6 +950,14 @@ Time, in seconds, to wait for a response. If the response stales for longer, a
Its default value is the same as the value of PHP's `default_socket_timeout`_
config option.

max_duration
............

**type**: ``float`` **default**: 0

The maximum execution time, in seconds, that the request and the response are
allowed to take. A value lower than or equal to 0 means it is unlimited.

verify_host
...........

Expand Down

0 comments on commit f20dc70

Please sign in to comment.