Skip to content

Commit

Permalink
Fix for #1026
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Apr 17, 2013
1 parent d245db2 commit f7b6807
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;

public class TomcatWebSocketHandler extends StreamInbound {
Expand All @@ -50,7 +49,7 @@ public TomcatWebSocketHandler(AtmosphereRequest request, AtmosphereFramework fra

String s = framework.getAtmosphereConfig().getInitParameter(ApplicationConfig.WEBSOCKET_IDLETIME);
if (s != null) {
webSocketWriteTimeout = Integer.valueOf(1);
webSocketWriteTimeout = Integer.valueOf(s);
} else {
webSocketWriteTimeout = -1;
}
Expand Down

0 comments on commit f7b6807

Please sign in to comment.