kopia lustrzana https://github.com/gaul/s3proxy
Consistently flush before closing Writer
rodzic
711c0821d1
commit
d33324797a
|
@ -654,6 +654,7 @@ final class S3ProxyHandler extends AbstractHandler {
|
|||
}
|
||||
// TODO: emit error stanza
|
||||
writer.write("</DeleteResult>");
|
||||
writer.flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -784,6 +785,7 @@ final class S3ProxyHandler extends AbstractHandler {
|
|||
writer.write(eTag);
|
||||
writer.write(""</ETag>\r\n");
|
||||
writer.write("</CopyObjectResult>");
|
||||
writer.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue