diff --git a/controller/server/anyreader.go b/controller/server/anyreader.go index cfee1a7a..6865e3cf 100644 --- a/controller/server/anyreader.go +++ b/controller/server/anyreader.go @@ -310,10 +310,6 @@ func (ar *AnyReaderWriter) readHTTPMessage() (*Message, error) { if path == "" { return msg, nil } - if !strings.HasSuffix(path, "\r\n") { - path += "\r\n" - } - nmsg, err := readNativeMessageLine([]byte(path)) if err != nil { return nil, err