adds preliminary stress_test mode to wsperf

This commit is contained in:
Peter Thorson
2012-06-04 08:46:54 -05:00
parent 2f6565565b
commit 002e75891e
5 changed files with 197 additions and 9 deletions

View File

@@ -61,7 +61,9 @@ stress_aggregate::stress_aggregate(wscmd::cmd& cmd)
: stress_handler(cmd)
{}
void stress_aggregate::start(connection_ptr con) {}
void stress_aggregate::start(connection_ptr con) {
}
void stress_aggregate::on_message(connection_ptr con,websocketpp::message::data_ptr msg) {
std::string hash = websocketpp::md5_hash_hex(msg->get_payload());