1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

test500: adjust to work with hyper mode

This commit is contained in:
Daniel Stenberg 2021-06-07 13:16:38 +02:00
parent 32311d2d15
commit 48b0cca65e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER log/ip%TESTNUMBER
# Verify data after the test has been "shot"
<verify>
<file name="log/ip%TESTNUMBER">
IP: %HOSTIP
IP %HOSTIP
</file>
<protocol>
GET /%TESTNUMBER HTTP/1.1

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -101,7 +101,7 @@ int test(char *URL)
curl_off_t time_pretransfer;
curl_off_t time_starttransfer;
curl_off_t time_total;
fprintf(moo, "IP: %s\n", ipstr);
fprintf(moo, "IP %s\n", ipstr);
curl_easy_getinfo(curl, CURLINFO_NAMELOOKUP_TIME_T, &time_namelookup);
curl_easy_getinfo(curl, CURLINFO_CONNECT_TIME_T, &time_connect);
curl_easy_getinfo(curl, CURLINFO_PRETRANSFER_TIME_T,