forked from I2P_Developers/i2p.i2p
Servlets: Close output stream on redirect,
instead of flushing buffer, to force commitment
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
// probably because restart or shutdown was clicked
|
||||
response.setStatus(307);
|
||||
response.setHeader("Location", "/graphs");
|
||||
// force commitment
|
||||
response.getOutputStream().close();
|
||||
return;
|
||||
}
|
||||
%>
|
||||
|
Reference in New Issue
Block a user