mirror of https://github.com/moparisthebest/curl
curl_url_set.3: add memory management information
wording taken from man page for CURLOPT_URL.3 As far as I can see, the URL part is either malloc'ed before due to encoding or it is strdup'ed. Closes #6953
This commit is contained in:
parent
5e7fc49c19
commit
68f6c56396
|
@ -39,6 +39,9 @@ below) to set or change, with \fIcontent\fP pointing to a null-terminated
|
|||
string with the new contents for that URL part. The contents should be in the
|
||||
form and encoding they'd use in a URL: URL encoded.
|
||||
|
||||
The application does not have to keep \fIcontent\fP around after a successful
|
||||
call.
|
||||
|
||||
Setting a part to a NULL pointer will effectively remove that part's contents
|
||||
from the CURLU handle.
|
||||
|
||||
|
|
Loading…
Reference in New Issue