Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion reference/curl/functions/curl-close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsynopsisdiv>
&warn.deprecated.function-8-5-0;
</refsynopsisdiv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
Expand All @@ -18,6 +18,14 @@
<methodparam><type>CurlHandle</type><parameter>handle</parameter></methodparam>
</methodsynopsis>
&note.resource-migration-8.0-dead-function;
<note>
<para>

Check failure on line 22 in reference/curl/functions/curl-close.xml

View workflow job for this annotation

GitHub Actions / DocBook Style Check (en)

curl-close.xml: <para> contains only inline content and should be <simpara>.
If cookies need to be written before the <parameter>handle</parameter>
is destroyed, call <function>curl_setopt</function> with
<constant>CURLOPT_COOKIELIST</constant> set to <literal>"FLUSH"</literal>.
</para>
</note>

<para>
Closes a cURL session and frees all resources. The cURL handle,
<parameter>handle</parameter>, is also deleted.
Expand Down
Loading