socket: Log the transport used client-side

(imported from commit 7d5c5b15a729e1a4a73b49280c8096248c4843a3)
This commit is contained in:
Zev Benjamin
2014-01-10 12:00:09 -05:00
committed by Waseem Daher
parent 4fb3b39077
commit 3eaf77d532

View File

@@ -141,7 +141,7 @@ Socket.prototype = {
_setup_sockjs_callbacks: function Socket__setup_sockjs_callbacks(sockjs) {
var that = this;
sockjs.onopen = function Socket__sockjs_onopen() {
blueslip.info("Socket connected.");
blueslip.info("Socket connected [transport=" + sockjs.protocol + "]");
that._is_open = true;
// Notify listeners that we've finished the websocket handshake