diff --git a/contrib/codecs/http/codec_sse.go b/contrib/codecs/http/codec_sse.go index 315155e63057a66f8ca5d6cfdda79d27bc9639a1..382fbdca8e2c1df5c462ae708e514ec853fbee57 100644 --- a/contrib/codecs/http/codec_sse.go +++ b/contrib/codecs/http/codec_sse.go @@ -103,7 +103,6 @@ func (c *SseCodec) Flush() error { Event: []byte("object"), Data: &c.cur, }) - c.w.Write([]byte{'\n'}) if c.f != nil { c.f.Flush() }