diff --git a/irc/socket.go b/irc/socket.go index e4e4806d..95952c40 100644 --- a/irc/socket.go +++ b/irc/socket.go @@ -148,6 +148,7 @@ func (socket *Socket) RunSocketWriter() { } if socket.MaxSendQBytes < sendQBytes { socket.conn.Write([]byte("\r\nERROR :SendQ Exceeded\r\n")) + fmt.Println("SendQ exceeded, disconnected client") break } diff --git a/oragono.yaml b/oragono.yaml index 5d8cbf7f..f176d1e0 100644 --- a/oragono.yaml +++ b/oragono.yaml @@ -66,6 +66,7 @@ server: motd: oragono.motd # maximum length of clients' sendQ in bytes + # this should be big enough to hold /LIST and HELP replies max-sendq: 16k # maximum number of connections per subnet