GNURLMOPT_...NG_SITE_BL(3)
π GNURLMOPT_...NG_SITE_BL β the pipelining host block list one π
okay so real talk bestie, this page lives in the curl_multi_setopt options section of the manual and it is so short because, well... you'll see. buckle up π¦
β¨ NAME β¨
CURLMOPT_PIPELINING_SITE_BL β the pipelining host block list, aka the list of sites that fumbled pipelining so hard they got benched π
πΈ SYNOPSIS πΈ
#include <gnurl/curl.h>
CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING_SITE_BL,
char **hosts);
π DESCRIPTION π
no function since pipelining was removed in 7.62.0. π
like... she's a ghost now. but the lore matters, so here's what she did:
you pass a hosts array of char *, ending with a NULL entry. it's a list of sites that are blocked from pipelining β literally sites that are known to not support HTTP pipelining π«. libcurl copies the array (yes, copies, she's not borrowing yours, she has her own π«Ά).
and if you wanna clear the block list? pass a NULL pointer. clean slate, fresh start, therapy era β¨
π DEFAULT π
the default value is NULL, which means there is no block list β everybody's invited to the pipelining party (well, they were, until 7.62.0 broke up the party π).
π PROTOCOLS π
HTTP(S) β that's it, that's the whole vibe check.
π₯ EXAMPLE π₯
char *site_block_list[] =
{
"www.haxx.se",
"www.example.com:1234",
NULL
};
curl_multi_setopt(m, CURLMOPT_PIPELINING_SITE_BL, site_block_list);
see that NULL at the end? do NOT forget it, bestie, the array needs its little periodt to know it's done β
β AVAILABILITY β
added in 7.30.0 β so she's been around a minute, she's got main character history π
π RETURN VALUE π
- returns
CURLM_OKif the option is supported ππ - returns
CURLM_UNKNOWN_OPTIONif it's not π
π¦ SEE ALSO π¦
that's the whole page fr fr β short, sweet, and slightly haunted by a deprecated feature π§π
sign-off: this little icon was brought to you by libcurl 7.39.0, dated 4 Nov 2014, and honestly she ate πΈπ
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms