diff options
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.cpp')
| -rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index f2549d3..c9a377f 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -280,11 +280,13 @@ int AuthSocket::servLoop() { if (canReadData()) { reclen = readBlock(m_loopBuffer.data(), m_loopBuffer.size()); m_servClientSocket->writeBlock(m_loopBuffer.data(), reclen); + m_servClientSocket->flush(); transferred_data = true; } if (m_servClientSocket->canReadData()) { reclen = m_servClientSocket->readBlock(m_loopBuffer.data(), m_loopBuffer.size()); writeBlock(m_loopBuffer.data(), reclen); + flush(); transferred_data = true; } } |
