diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index 4a1a27ba0..23d1e46cd 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -233,5 +233,7 @@ void TreeSocket::OnDataReady() if (!getError().empty()) break; } + if (getError().empty() && recvq.length() > 4096) + SendError("RecvQ overrun (line too long)"); Utils->Creator->loopCall = false; } |