Skip to content

Commit

Permalink
log when pong is received (crossbario#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
om26er authored Apr 30, 2018
1 parent 5c3b3de commit 953271f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.crossbar.autobahn.utils;

public class Globals {
public static final boolean DEBUG = false;
// Default set to true, this is set to false by the release script.
public static final boolean DEBUG = true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import android.os.Looper;
import android.os.Message;
import android.util.Base64;
import android.util.Log;

import java.io.BufferedOutputStream;
import java.io.IOException;
Expand Down Expand Up @@ -287,6 +288,7 @@ private void sendPong(Pong message) throws IOException, WebSocketException {
throw new WebSocketException("pong payload exceeds 125 octets");
}
sendFrame(10, true, message.mPayload);
LOGGER.d("WebSockets Pong Sent");
}


Expand Down

0 comments on commit 953271f

Please sign in to comment.