switched back from BufferedOutputStream to unbuffered one

This commit is contained in:
hns 2001-02-27 22:16:52 +00:00
parent 8eb28ffd2e
commit 9f3dc4cfb8
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ public class AcmeServletClient extends HttpServlet{
res.setContentLength (trans.getContentLength ());
res.setContentType (trans.contentType);
try {
OutputStream out = new BufferedOutputStream (res.getOutputStream ());
OutputStream out = res.getOutputStream ();
out.write (trans.getContent ());
out.close ();
} catch(Exception io_e) { System.out.println ("Error in writeResponse: "+io_e); }

View file

@ -220,7 +220,7 @@ public class ServletClient extends HttpServlet{
res.setContentLength (trans.getContentLength ());
res.setContentType (trans.contentType);
try {
OutputStream out = new BufferedOutputStream (res.getOutputStream ());
OutputStream out = res.getOutputStream ();
out.write (trans.getContent ());
out.close ();
} catch(Exception io_e) {}