commit | 4c2eb85edfcfbc57c0243744f206690116c1f84c | [log] [download] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Tue Aug 26 15:35:33 2014 -0700 |
committer | Shawn Pearce <sop@google.com> | Tue Aug 26 15:37:29 2014 -0700 |
tree | 4a50da719b9db6be13ebe73a55b3ab6dd5912c6e | |
parent | 29914cb9c1812b82513317063df893130138fd1d [diff] |
Fix double close in streaming HTML output Writer.close() will close the OutputStream it wraps. The try block will also close the OutputStream. This cause the tail HTML to be output twice. Unless the servlet container supplies an OutputStream that throws an exception for any write attempt after close. Change-Id: Icaec2d284259d6e2f040e141253bc65d39407d55