Skip to content
Closed
Changes from 1 commit
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
11 changes: 10 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,15 @@
<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 handle is automatically
destroyed, call
<function>curl_setopt</function>(<parameter>handle</parameter>,
<constant>CURLOPT_COOKIELIST</constant>, <literal>"FLUSH"</literal>).
</para>
</note>
Comment thread
divinity76 marked this conversation as resolved.
Outdated
Comment thread
divinity76 marked this conversation as resolved.
Outdated

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