rgw/http: add timeout to http client #34414
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
some more http client related fixes:
done
value was not checked. This is needed to fix "spurious wakeups"CURLOPT_INFILESIZE
was set with a pointer value and not the actual sizeFollowing Issues are not blockers for notification testing (e.g. #34293), and could be addressed later:
Expect: 100-continue
to be sent. However, tests showed the the field is sent regardless. So, to prevent it it was removed explicitly from the header100 Continue
result code, the RGW treat that as an-EIO
error.If the server ignore that, there is no issueSigned-off-by: Yuval Lifshitz yuvalif@yahoo.com