diff --git a/src/h2load.cc b/src/h2load.cc index 8fce4a6e..3f37adc3 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -1533,6 +1533,12 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } + if (config.timing_script && config.is_rate_mode()) { + std::cerr << "--timing-script, -r: these options cannot be used together." + << std::endl; + exit(EXIT_FAILURE); + } + std::vector reqlines; if (config.ifile.empty()) {