Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ltearno committed Aug 7, 2020
1 parent 6c043d4 commit 5c76d2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/my-own-cluster/common/exchangebuffer-http-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func (b *HttpReaderExchangeBuffer) GetStatusCode() int {
}

func (b *HttpReaderExchangeBuffer) GetBuffer() []byte {
b.ensureHeadersReadFromRequest()
body, err := ioutil.ReadAll(b.r.Body)
if err == nil {
if body != nil && len(body) == 0 {
Expand Down

0 comments on commit 5c76d2f

Please sign in to comment.