h2load: Remove trailing white spaces
This commit is contained in:
parent
da3bd559a9
commit
04aaaa3821
|
@ -20,8 +20,8 @@ requests
|
|||
likely the network level failures or stream was reset by
|
||||
RST_STREAM.
|
||||
timeout
|
||||
The number of requests whose connection timed out before they
|
||||
were completed.
|
||||
The number of requests whose connection timed out before they were
|
||||
completed.
|
||||
|
||||
status codes
|
||||
The number of status code h2load received.
|
||||
|
|
|
@ -1144,8 +1144,7 @@ Options:
|
|||
Available protocol: )";
|
||||
#endif // !HAVE_SPDYLAY
|
||||
out << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"(
|
||||
Default: )"
|
||||
<< NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"(
|
||||
Default: )" << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"(
|
||||
-d, --data=<PATH>
|
||||
Post FILE to server. The request method is changed to
|
||||
POST.
|
||||
|
@ -1168,25 +1167,24 @@ Options:
|
|||
for this option is 0. The -n option is not required if
|
||||
the -C option is being used.
|
||||
-T, --connection-active-timeout=<N>
|
||||
Specifies the maximum time that h2load is willing to
|
||||
keep a connection open, regardless of the activity on
|
||||
said connection. <N> must be a positive integer,
|
||||
specifying the number of seconds to wait. When no
|
||||
Specifies the maximum time that h2load is willing to
|
||||
keep a connection open, regardless of the activity on
|
||||
said connection. <N> must be a positive integer,
|
||||
specifying the number of seconds to wait. When no
|
||||
timeout value is set (either active or inactive), h2load
|
||||
will keep a connection open indefinitely, waiting for a
|
||||
will keep a connection open indefinitely, waiting for a
|
||||
response.
|
||||
-N, --connection-inactivity-timeout=<N>
|
||||
Specifies the amount of time that h2load is willing to
|
||||
wait to see activity on a given connection. <N> must be
|
||||
a positive integer, specifying the number of seconds to
|
||||
wait. When no timeout value is set (either active or
|
||||
inactive), h2load will keep a connection open
|
||||
Specifies the amount of time that h2load is willing to
|
||||
wait to see activity on a given connection. <N> must be
|
||||
a positive integer, specifying the number of seconds to
|
||||
wait. When no timeout value is set (either active or
|
||||
inactive), h2load will keep a connection open
|
||||
indefinitely, waiting for a response.
|
||||
-v, --verbose
|
||||
Output debug information.
|
||||
--version Display version information and exit.
|
||||
-h, --help Display this help and exit.)"
|
||||
<< std::endl;
|
||||
-h, --help Display this help and exit.)" << std::endl;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
@ -1442,9 +1440,8 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
if (config.nconns == 0 && !nreqs_set_manually) {
|
||||
std::cerr
|
||||
<< "-r: the rate option must be used with either the -n option "
|
||||
"or the -C option." << std::endl;
|
||||
std::cerr << "-r: the rate option must be used with either the -n option "
|
||||
"or the -C option." << std::endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue