switched back from BufferedOutputStream to unbuffered one
This commit is contained in:
parent
8eb28ffd2e
commit
9f3dc4cfb8
2 changed files with 2 additions and 2 deletions
|
@ -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); }
|
||||
|
|
|
@ -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) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue