8000 Merge branch '4.4' · symfony/symfony-docs@7b537a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b537a0

Browse files
committed
Merge branch '4.4'
* 4.4: Added needed versionadded directive. refs #12073 [FrameworkBundle][HttpClient] "max_duration" option
2 parents 48db983 + e999335 commit 7b537a0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/configuration/framework.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Configuration
107107
* `proxy`_
108108
* `resolve`_
109109
* `timeout`_
110+
* `max_duration`_
110111
* `verify_host`_
111112
* `verify_peer`_
112113

@@ -134,6 +135,7 @@ Configuration
134135
* `query`_
135136
* `resolve`_
136137
* `timeout`_
138+
* `max_duration`_
137139
* `verify_host`_
138140
* `verify_peer`_
139141

@@ -923,6 +925,18 @@ Time, in seconds, to wait for a response. If the response stales for longer, a
923925
Its default value is the same as the value of PHP's `default_socket_timeout`_
924926
config option.
925927

928+
max_duration
929+
............
930+
931+
**type**: ``float`` **default**: 0
932+
933+
The maximum execution time, in seconds, that the request and the response are
934+
allowed to take. A value lower than or equal to 0 means it is unlimited.
935+
936+
.. versionadded:: 4.4
937+
938+
The ``max_duration`` option was introduced in Symfony 4.4.
939+
926940
verify_host
927941
...........
928942

0 commit comments

Comments
 (0)
0