mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
socket: Log the transport used client-side
(imported from commit 7d5c5b15a729e1a4a73b49280c8096248c4843a3)
This commit is contained in:
committed by
Waseem Daher
parent
4fb3b39077
commit
3eaf77d532
@@ -141,7 +141,7 @@ Socket.prototype = {
|
|||||||
_setup_sockjs_callbacks: function Socket__setup_sockjs_callbacks(sockjs) {
|
_setup_sockjs_callbacks: function Socket__setup_sockjs_callbacks(sockjs) {
|
||||||
var that = this;
|
var that = this;
|
||||||
sockjs.onopen = function Socket__sockjs_onopen() {
|
sockjs.onopen = function Socket__sockjs_onopen() {
|
||||||
blueslip.info("Socket connected.");
|
blueslip.info("Socket connected [transport=" + sockjs.protocol + "]");
|
||||||
that._is_open = true;
|
that._is_open = true;
|
||||||
|
|
||||||
// Notify listeners that we've finished the websocket handshake
|
// Notify listeners that we've finished the websocket handshake
|
||||||
|
|||||||
Reference in New Issue
Block a user