TLS work. Not done.

This commit is contained in:
barant committed 2019-09-20 20:25:45 -07:00
1 parent e6c1e9db0d
commit 43a24b900a
11 files changed
+92 -93

No files matched your search

+4 -4
View File
@@ -1,8 +1,8 @@
#include "TerminalSession.h"
namespace core {
TerminalSession::TerminalSession(EPoll &ePoll, TCPServer &server) : TCPSession(ePoll, server) {
TerminalSession::TerminalSession(EPoll &ePoll, TCPServer &server) : TLSSession(ePoll, server) {
}
TerminalSession::~TerminalSession() {
@@ -10,8 +10,8 @@ namespace core {
int TerminalSession::getLines() {
struct winsize size;
ioctl(getDescriptor(), TIOCGWINSZ, &size);
return size.ws_row;
ioctl(getDescriptor(), TIOCGWINSZ, &size);
return size.ws_row;
}
void TerminalSession::clear() {