File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -966,11 +966,10 @@ Persistent cURL connections
966966
967967.. versionadded :: 8.1
968968
969- ``CurlHttpClient `` supports persistent cURL handles when running on PHP 8.5
970- or later.
969+ Support for persistent cURL connections was introduced in Symfony 8.1.
971970
972- Persistent connections can be enabled using the
973- `` extra.use_persistent_connections `` option::
971+ Persistent connections can be enabled using the `` extra.use_persistent_connections ``
972+ option::
974973
975974 use Symfony\Component\HttpClient\CurlHttpClient;
976975
@@ -980,10 +979,13 @@ Persistent connections can be enabled using the
980979 ],
981980 ]);
982981
983- When enabled, DNS cache, SSL sessions and connection data can be reused across
984- requests, reducing connection overhead.
982+ When enabled, the DNS cache, SSL sessions and connection data can be reused across
983+ requests, reducing connection overhead. When disabled (default), non-persistent
984+ cURL handles are used.
985+
986+ .. note ::
985987
986- When disabled (default), non- persistent cURL handles are used .
988+ Using persistent cURL connections requires running PHP 8.5 or later .
987989
988990HTTP Compression
989991~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments