[debian-edu-commits] debian-edu/ 06/13: so WHAT‽ if it doesn’t throw, idfc

Dominik George natureshadow-guest at moszumanska.debian.org
Mon Oct 31 21:51:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository guacamole-client.

commit f0d742c577262d91d4f7209409f2e2c8bcb372d1
Author: mirabilos <thorsten.glaser at teckids.org>
Date:   Sat Oct 29 00:21:10 2016 +0200

    so WHAT‽ if it doesn’t throw, idfc
---
 debian/patches/fix-java-code.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/debian/patches/fix-java-code.patch b/debian/patches/fix-java-code.patch
index 829bea1..dd71e92 100644
--- a/debian/patches/fix-java-code.patch
+++ b/debian/patches/fix-java-code.patch
@@ -34,6 +34,23 @@
 +        return null;
 +    }
  }
+--- a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty9/GuacamoleWebSocketTunnelListener.java
++++ b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty9/GuacamoleWebSocketTunnelListener.java
+@@ -69,14 +69,9 @@ public abstract class GuacamoleWebSocket
+      */
+     private void closeConnection(Session session, GuacamoleStatus guac_status) {
+ 
+-        try {
+             int code = guac_status.getWebSocketCode();
+             String message = Integer.toString(guac_status.getGuacamoleStatusCode());
+             session.close(new CloseStatus(code, message));
+-        }
+-        catch (IOException e) {
+-            logger.debug("Unable to close WebSocket connection.", e);
+-        }
+ 
+     }
+ 
 --- a/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty9/WebSocketTunnelRequest.java
 +++ b/guacamole/src/main/java/org/glyptodon/guacamole/net/basic/websocket/jetty9/WebSocketTunnelRequest.java
 @@ -38,7 +38,7 @@ public class WebSocketTunnelRequest exte

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/guacamole-client.git



More information about the debian-edu-commits mailing list