DEACTIVATE WEBSOCKET

This commit is contained in:
2020-12-01 21:47:03 +01:00
parent ddd3e6e7f1
commit 17c3132246

View File

@ -216,7 +216,7 @@ int websocket_handler(Socket *socket, stds *pipes) {
FD_SET(socket->getFd(), &readfd);
FD_SET(pipes->stdout->_fileno, &readfd);
while (true) {
/*while (true) {
int ret = ::select(maxfd + 1, &readfd, nullptr, nullptr, nullptr);
if (ret < 0) {
throw (char *) strerror(errno);
@ -229,7 +229,7 @@ int websocket_handler(Socket *socket, stds *pipes) {
ungetc(c, pipes->stdout);
socket->send(pipes->stdout);
}
}
}*/
}
/**