From a0e17761ad705ecafd96ccf82a38cfdea1e4eca2 Mon Sep 17 00:00:00 2001 From: fancyweb Date: Thu, 1 Aug 2019 15:36:58 +0200 Subject: [PATCH] [FrameworkBundle][HttpClient] "max_duration" option --- reference/configuration/framework.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ...........