diff --git a/mountpoint-s3-client/CHANGELOG.md b/mountpoint-s3-client/CHANGELOG.md index a41faea56..1d21d81e5 100644 --- a/mountpoint-s3-client/CHANGELOG.md +++ b/mountpoint-s3-client/CHANGELOG.md @@ -28,6 +28,9 @@ ### Other changes +* Copy object operation now support buckets with dots in the name by including extra header with source uri + ([#1228](https://github.com/awslabs/mountpoint-s3/pull/1228)). + Support on CRT side was introduced in [awslabs/aws-c-s3/482](https://github.com/awslabs/aws-c-s3/pull/482) * `HeadObjectResult` now includes the server-side encryption settings used when storing the object. ([#1143](https://github.com/awslabs/mountpoint-s3/pull/1143)) * Add parameter to request checksum information as part of a `HeadObject` request. diff --git a/mountpoint-s3-client/src/s3_crt_client/copy_object.rs b/mountpoint-s3-client/src/s3_crt_client/copy_object.rs index 43f8dabf4..276923c55 100644 --- a/mountpoint-s3-client/src/s3_crt_client/copy_object.rs +++ b/mountpoint-s3-client/src/s3_crt_client/copy_object.rs @@ -2,10 +2,10 @@ use std::ops::Deref; use std::os::unix::prelude::OsStrExt; use mountpoint_s3_crt::{http::request_response::Header, s3::client::MetaRequestResult}; +use tracing::trace; use crate::object_client::{CopyObjectError, CopyObjectParams, CopyObjectResult, ObjectClientResult}; use crate::s3_crt_client::{S3CrtClient, S3CrtClientInner, S3Operation, S3RequestError}; -use tracing::trace; impl S3CrtClient { /// Create and begin a new CopyObject request. diff --git a/mountpoint-s3-crt/src/s3/client.rs b/mountpoint-s3-crt/src/s3/client.rs index 8c7087d60..be745d396 100644 --- a/mountpoint-s3-crt/src/s3/client.rs +++ b/mountpoint-s3-crt/src/s3/client.rs @@ -323,13 +323,13 @@ impl<'a> MetaRequestOptions<'a> { endpoint: None, signing_config: None, checksum_config: None, + copy_source_uri: None, on_telemetry: None, on_headers: None, on_body: None, on_upload_review: None, on_finish: None, _pinned: Default::default(), - copy_source_uri: None, }); // Pin the options in-place. This is because it's about to become self-referential.