From eab2f95c0de94e9816c8a6110d20673761dd97a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 Jun 2020 16:08:11 +0200 Subject: wording: avoid blacklist/whitelist stereotypes Instead of discussing if there's value or meaning (implied or not) in the colors, let's use words without the same possibly negative associations. Closes #5546 --- docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3') diff --git a/docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3 b/docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3 index 405645080..da3251b62 100644 --- a/docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3 +++ b/docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -22,7 +22,7 @@ .\" .TH CURLMOPT_PIPELINING_SERVER_BL 3 "4 Nov 2014" "libcurl 7.39.0" "curl_multi_setopt options" .SH NAME -CURLMOPT_PIPELINING_SERVER_BL \- pipelining server blacklist +CURLMOPT_PIPELINING_SERVER_BL \- pipelining server block list .SH SYNOPSIS #include @@ -31,28 +31,28 @@ CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING_SERVER_BL, char * No function since pipelining was removed in 7.62.0. Pass a \fBservers\fP array of char *, ending with a NULL entry. This is a list -of server types prefixes (in the Server: HTTP header) that are blacklisted -from pipelining, i.e server types that are known to not support HTTP +of server types prefixes (in the Server: HTTP header) that are blocked from +pipelining, i.e server types that are known to not support HTTP pipelining. The array is copied by libcurl. Note that the comparison matches if the Server: header begins with the string -in the blacklist, i.e "Server: Ninja 1.2.3" and "Server: Ninja 1.4.0" can -both be blacklisted by having "Ninja" in the backlist. +in the block list, i.e "Server: Ninja 1.2.3" and "Server: Ninja 1.4.0" can +both be blocked by having "Ninja" in the list. -Pass a NULL pointer to clear the blacklist. +Pass a NULL pointer to clear the block list. .SH DEFAULT -The default value is NULL, which means that there is no blacklist. +The default value is NULL, which means that there is no block list. .SH PROTOCOLS .SH EXAMPLE .nf - server_blacklist[] = + char *server_block_list[] = { "Microsoft-IIS/6.0", "nginx/0.8.54", NULL }; - curl_multi_setopt(m, CURLMOPT_PIPELINING_SERVER_BL, server_blacklist); + curl_multi_setopt(m, CURLMOPT_PIPELINING_SERVER_BL, server_block_list); .fi .SH AVAILABILITY Added in 7.30.0 -- cgit v1.2.3