diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index d6bcbca5e34..bd6fa407242 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -107,6 +107,7 @@ Configuration * `proxy`_ * `resolve`_ * `timeout`_ + * `max_duration`_ * `verify_host`_ * `verify_peer`_ @@ -134,6 +135,7 @@ Configuration * `query`_ * `resolve`_ * `timeout`_ + * `max_duration`_ * `verify_host`_ * `verify_peer`_ @@ -946,6 +948,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 ...........