mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
better wsperf error message on connection fail
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
||||
//std::cout << " fails in " << len.length() << std::endl;
|
||||
}
|
||||
void on_fail(connection_ptr con) {
|
||||
std::cout << " fails to connect." << std::endl;
|
||||
m_data = "{\"result\":\"connection_failed\"}";
|
||||
}
|
||||
|
||||
const std::string& get_result() const {
|
||||
|
||||
@@ -52,7 +52,7 @@ struct request {
|
||||
std::string req;
|
||||
std::string token;
|
||||
|
||||
// test_message:uri=ws://localhost:9000;size=4096;count=1000;timeout=10000;binary=true;sync=true;correctness=exact;
|
||||
// message_test:uri=ws://localhost:9000;size=4096;count=1000;timeout=10000;binary=true;sync=true;correctness=exact;token=foo;
|
||||
|
||||
void process() {
|
||||
std::vector<wsperf::case_handler_ptr> tests;
|
||||
|
||||
Reference in New Issue
Block a user