mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Fixed buffering issue with Chrome/Webkit
This commit is contained in:
@@ -84,7 +84,11 @@ public abstract class GuacamoleTunnelServlet extends HttpServlet {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
response.setContentType("text/plain");
|
// Note that although we are sending text, Webkit browsers will
|
||||||
|
// buffer 1024 bytes before starting a normal stream if we use
|
||||||
|
// anything but application/octet-stream.
|
||||||
|
response.setContentType("application/octet-stream");
|
||||||
|
|
||||||
Writer out = response.getWriter();
|
Writer out = response.getWriter();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user