/***************************************************************************1* _ _ ____ _2* Project ___| | | | _ \| |3* / __| | | | |_) | |4* | (__| |_| | _ <| |___5* \___|\___/|_| \_\_____|6*7* Copyright (C) Daniel Stenberg, <[email protected]>, et al.8*9* This software is licensed as described in the file COPYING, which10* you should have received as part of this distribution. The terms11* are also available at https://curl.se/docs/copyright.html.12*13* You may opt to use, copy, modify, merge, publish, distribute and/or sell14* copies of the Software, and permit persons to whom the Software is15* furnished to do so, under the terms of the COPYING file.16*17* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY18* KIND, either express or implied.19*20* SPDX-License-Identifier: curl21*22***************************************************************************/23#include "test.h"2425#include "memdebug.h"2627#include <curl/multi.h>2829CURLcode test(char *URL)30{31CURLM *handle;32CURLcode res = CURLE_OK;33static const char * const bl_servers[] =34{"Microsoft-IIS/6.0", "nginx/0.8.54", NULL};35static const char * const bl_sites[] =36{"curl.se:443", "example.com:80", NULL};3738global_init(CURL_GLOBAL_ALL);39handle = curl_multi_init();40(void)URL; /* unused */4142curl_multi_setopt(handle, CURLMOPT_PIPELINING_SERVER_BL, bl_servers);43curl_multi_setopt(handle, CURLMOPT_PIPELINING_SITE_BL, bl_sites);44curl_multi_cleanup(handle);45curl_global_cleanup();46return CURLE_OK;47}484950