This commit is contained in:
Liang Ding 2014-11-20 17:04:18 +08:00
parent 5668598ea6
commit deab5e6507
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func WSHandler(w http.ResponseWriter, r *http.Request) {
httpSession.Options.MaxAge = conf.Wide.HTTPSessionMaxAge
httpSession.Save(r, w)
WideSessions.New(httpSession, sid)
wSession = WideSessions.New(httpSession, sid)
glog.Infof("Created a wide session [%s] for websocket reconnecting, user [%s]", sid, wSession.Username)
}