Consistently flush before closing Writer

pull/27/head
Andrew Gaul 2014-12-28 14:52:36 -08:00
rodzic 711c0821d1
commit d33324797a
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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("&quot;</ETag>\r\n");
writer.write("</CopyObjectResult>");
writer.flush();
}
}
}