3 - 출력 테스트 파라미터 - printConfigure
Welcome to my github: https://github.com/gaoxiangnumber1
void PrintConfigure(char **argv)
입 니 다.사용자 가 입력 한 options 출력 에 대응 하 는 configuration 은 사용자 에 게 알림 을 주 는 것 과 같 습 니 다.전체 원본 코드: void PrintConfigure(char **argv) // Step 3. Print this test's configure information.
{
// Testing: <method> <url> <version>
// With <clients> <time> <force> <proxy> <reload>
printf("Testing: ");
switch(method)
{
default:
case METHOD_GET:
printf("GET");
break;
case METHOD_OPTIONS:
printf("OPTIONS");
break;
case METHOD_HEAD:
printf("HEAD");
break;
case METHOD_TRACE:
printf("TRACE");
break;
}
printf(" %s using HTTP/1.1
", argv[optind]);
printf("With %d client(s), running %d second(s)", clients, test_time);
if(force)
{
printf(", early socket close");
}
if(proxy_host)
{
printf(", via proxy server %s:%d", proxy_host, proxy_port);
if(force_reload) // Only with proxy server, use reload is useful.
{
printf(", forcing reload");
}
}
printf(".
");
}
Please indicate the source: http://blog.csdn.net/gaoxiangnumber1
Welcome to my github: https://github.com/gaoxiangnumber1
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
오픈 소스 Github 기여 방법 👯♀️소개 , 첫 풀/병합 요청 작성을 연습할 수 있는 오픈 소스 리포지토리입니다. index.html 파일을 열면 이와 동일한 지침을 찾을 수 있습니다. 시작하자! 어떻게 결론 , 당신과 같은 다른 개발자들과 협업할 수...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.