diff --git a/revid/senders.go b/revid/senders.go index 66590956..9d5ccb93 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -124,6 +124,7 @@ func newHttpSender(url string, timeout time.Duration, log func(lvl, msg string)) } func (s *httpSender) load(c *ring.Chunk) error { + s.chunk = c buf := bytes.NewBuffer(s.buf[:0]) _, err := s.chunk.WriteTo(buf) s.buf = buf.Bytes()