fix(cos/put): null fd after close to fix double closing
This commit is contained in:
parent
394dc6c725
commit
b860e3827c
|
@ -710,6 +710,7 @@ upload:
|
|||
}
|
||||
|
||||
cos_cp_close(cp.thefile);
|
||||
cp.thefile = 0;
|
||||
|
||||
int size = 0;
|
||||
size += growbuffer_append(&(manager.gb), "<CompleteMultipartUpload>", strlen("<CompleteMultipartUpload>"));
|
||||
|
|
Loading…
Reference in New Issue