adds preliminary stress_test mode to wsperf

This commit is contained in:
Peter Thorson committed 2012-06-04 08:47:37 -05:00
1 parent 2f6565565b
commit 002e75891e
5 files changed
+197 -9

No files matched your search

+3 -1
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());