Changed SessionID format.
Pusher libs are validating the sessionID format. So I need to conform with its format.
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
sessionID := utils.RandomHash()
|
||||
sessionID := utils.GenerateSessionID()
|
||||
|
||||
if err := onOpen(conn, w, r, sessionID, app); err != nil {
|
||||
emitWSError(err, conn)
|
||||
|
||||
Reference in New Issue
Block a user