Skip to content

Commit

Permalink
Fix replayed response header
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Aug 31, 2016
1 parent fc0361d commit a2f5e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output_http.go
Expand Up @@ -179,7 +179,7 @@ func (o *HTTPOutput) Read(data []byte) (int, error) {

Debug("[OUTPUT-HTTP] Received response:", string(resp.payload))

header := payloadHeader(ReplayedResponsePayload, resp.uuid, resp.startedAt, resp.roundTripTime)
header := payloadHeader(ReplayedResponsePayload, resp.uuid, resp.roundTripTime, resp.startedAt)
copy(data[0:len(header)], header)
copy(data[len(header):], resp.payload)

Expand Down

0 comments on commit a2f5e43

Please sign in to comment.