Skip to content

Commit a2274ad

Browse files
committed
Minor reword
1 parent 11039ad commit a2274ad

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

http_client.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff 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

988990
HTTP Compression
989991
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)