Skip to content

Commit a0e1776

Browse files
committed
[FrameworkBundle][HttpClient] "max_duration" option
1 parent fa14686 commit a0e1776

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

reference/configuration/framework.rst

+10
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

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

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

0 commit comments

Comments
 (0)