forked from External/ergo
constants: Remove unused constants.
We may re-add MaxReplyLength later as a variable config option, similar to mammon.
This commit is contained in:
parent
3c2fae666a
commit
09802f7181
2 changed files with 2 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ type WSContainer struct {
|
|||
func (this WSContainer) Read(msg []byte) (int, error) {
|
||||
ty, bytes, err := this.ReadMessage()
|
||||
if ty == websocket.TextMessage {
|
||||
n := copy(msg, []byte(string(bytes)+CRLF+CRLF))
|
||||
n := copy(msg, []byte(string(bytes)+"\r\n\r\n"))
|
||||
return n, err
|
||||
}
|
||||
// Binary, and other kinds of messages, are thrown away.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue