-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout with CompleteMultipartUpload #30
Comments
Yes. Currently For example
|
I implemented the behaviour with a custom Body type |
Question: Where should the whitespaces be inserted? We won't know the http headers until
|
It's OK to change to |
right now I am sending the headers in the trailer
in my testing some client xml parsing libraries expect there to be no whitespace before the xml declaration that is why I am sending it early. |
The blocking hyper issue hyper#2719 has been closed with hyper#3375 and released with [email protected]. |
in my use case, a CompleteMultipartUpload can take a longer time and some clients timeout before the s3 server respond.
the Amazon S3 services deals with that problem by sending the response Header early and a whitespace character on an interval until the operation finishes, sending the final response or error as the xml body.
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
could we implement a similar solution? I experimented with it by editing the generated files in a branch(#31) and it works with the client but the solution is not ideal
https://github.com/lperlaki/s3s/tree/complete_multipart_keepalive
The text was updated successfully, but these errors were encountered: