Permalink
Browse files

Small fix to last commit

  • Loading branch information...
1 parent 7f1a1c6 commit 76b59afed6971c3cf82c0dcdc9b6f8026bfe1132 @edsrzf edsrzf committed Apr 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ironmq.go
View
@@ -81,6 +81,7 @@ func (c *Client) req(method, endpoint string, body []byte, data interface{}) err
if err != nil {
if err == io.EOF && eofCount < 3 {
eofCount++
+ req.Body = ioutil.NopCloser(bytes.NewBuffer(body))
continue
}
return err

0 comments on commit 76b59af

Please sign in to comment.