1CURLMOPT_PIPELINING_SERVER_BcLu(r3l)_multi_setopt opCtUiRoLnMsOPT_PIPELINING_SERVER_BL(3)
2
3
4

NAME

6       CURLMOPT_PIPELINING_SERVER_BL - pipelining server block list
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLMcode     curl_multi_setopt(CURLM     *handle,    CURLMOPT_PIPELINā€
12       ING_SERVER_BL, char **servers);
13

DESCRIPTION

15       No function since pipelining was removed in 7.62.0.
16
17       Pass a servers array of char *, ending with a NULL  entry.  This  is  a
18       list  of  server  types  prefixes (in the Server: HTTP header) that are
19       blocked from pipelining, i.e server types that are known to not support
20       HTTP pipelining. The array is copied by libcurl.
21
22       Note  that the comparison matches if the Server: header begins with the
23       string in the block list, i.e "Server: Ninja 1.2.3" and "Server:  Ninja
24       1.4.0" can both be blocked by having "Ninja" in the list.
25
26       Pass a NULL pointer to clear the block list.
27

DEFAULT

29       The default value is NULL, which means that there is no block list.
30

PROTOCOLS

EXAMPLE

33         char *server_block_list[] =
34         {
35           "Microsoft-IIS/6.0",
36           "nginx/0.8.54",
37           NULL
38         };
39
40         curl_multi_setopt(m, CURLMOPT_PIPELINING_SERVER_BL, server_block_list);
41

AVAILABILITY

43       Added in 7.30.0
44

RETURN VALUE

46       Returns  CURLM_OK  if the option is supported, and CURLM_UNKNOWN_OPTION
47       if not.
48

SEE ALSO

50       CURLMOPT_PIPELINING(3), CURLMOPT_PIPELINING_SITE_BL(3),
51
52
53
54libcurl 7.79.1                 November 04, 202C0URLMOPT_PIPELINING_SERVER_BL(3)
Impressum