From 6f17ead7b386769ab12ba2b90173f43e2cf29d92 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Dec 2023 18:19:24 +0100 Subject: [PATCH] CURLINFO_REFERER.3: clarify that it is the *request* header That libcurl itself sent in the most recent request Closes #12605 --- docs/libcurl/opts/CURLINFO_REFERER.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/libcurl/opts/CURLINFO_REFERER.3 b/docs/libcurl/opts/CURLINFO_REFERER.3 index 550ccf9aee..cc1a3c6673 100644 --- a/docs/libcurl/opts/CURLINFO_REFERER.3 +++ b/docs/libcurl/opts/CURLINFO_REFERER.3 @@ -24,7 +24,7 @@ .\" .TH CURLINFO_REFERER 3 "11 Feb 2021" libcurl libcurl .SH NAME -CURLINFO_REFERER \- get the referrer header +CURLINFO_REFERER \- get the used referrer request header .SH SYNOPSIS .nf #include @@ -32,7 +32,8 @@ CURLINFO_REFERER \- get the referrer header CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REFERER, char **hdrp); .fi .SH DESCRIPTION -Pass in a pointer to a char pointer and get the referrer header. +Pass in a pointer to a char pointer and get the referrer header used in the +most recent request. The \fBhdrp\fP pointer is NULL or points to private memory you MUST NOT free - it gets freed when you call \fIcurl_easy_cleanup(3)\fP on the corresponding