Implemented websocket read bufferring. (#92)

This commit is contained in:
Ravin Perera
2020-04-16 19:31:23 +05:30
committed by GitHub
parent 7a7dd8698d
commit 721daf19f3
3 changed files with 36 additions and 17 deletions

View File

@@ -92,6 +92,8 @@ void comm_server::connection_watchdog(
continue;
}
util::sleep(10);
// Accept any new incoming connection if available.
check_for_new_connection(sessions, accept_fd, session_type, is_binary, metric_thresholds);