Skip to content

Commit f20dc70

Browse files
committed
feature #12073 [FrameworkBundle][HttpClient] "max_duration" option (fancyweb)
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
2 parents b3d776d + a0e1776 commit f20dc70

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

reference/configuration/framework.rst

Lines changed: 10 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

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

953+
max_duration
954+
............
955+
956+
**type**: ``float`` **default**: 0
957+
958+
The maximum execution time, in seconds, that the request and the response are
959+
allowed to take. A value lower than or equal to 0 means it is unlimited.
960+
951961
verify_host
952962
...........
953963

0 commit comments

Comments
 (0)