Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions agent/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func postResponseWithRetries(client *http.Client, proxyURL, backendID, requestID
continue
}
// Force the response body to be fully read by copying it to the discard target.
//
//
// The response is expected to be empty for this specific case, so reading the entire
// response body should be safe and not cause any delays.
//
Expand All @@ -399,7 +399,7 @@ func postResponseWithRetries(client *http.Client, proxyURL, backendID, requestID
return err
}
continue
}
}
return nil
}
return err
Expand Down
Loading