mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 01:09:23 +00:00
fix(sftp): preserve open attrs metadata (#2929)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -59,6 +59,10 @@ pub(super) enum HandleState {
|
||||
/// The size field tracks the running total of bytes received so
|
||||
/// a client polling FSTAT during a transfer sees the progress.
|
||||
attrs: FileAttributes,
|
||||
/// Raw attributes supplied on OPEN. Only fields explicitly set
|
||||
/// by the client are copied into S3 user metadata at object
|
||||
/// creation time.
|
||||
open_attrs: FileAttributes,
|
||||
/// Multipart upload lifecycle state. See WritePhase.
|
||||
phase: WritePhase,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user