ソースを参照

Correct logging when a push connection can't find a session (#15220)

Change-Id: I8b3cabc942600b3366f59697441d0613c9908a24
tags/7.4.3
Artur Signell 9年前
コミット
78420eb0dd
1個のファイルの変更6行の追加2行の削除
  1. 6
    2
      server/src/com/vaadin/server/communication/PushHandler.java

+ 6
- 2
server/src/com/vaadin/server/communication/PushHandler.java ファイルの表示

@@ -356,9 +356,13 @@ public class PushHandler extends AtmosphereResourceEventListenerAdapter {
"Could not get session. This should never happen", e);
return;
} catch (SessionExpiredException e) {
// This happens at least if the server is restarted without
// preserving the session. After restart the client reconnects, gets
// a session expired notification and then closes the connection and
// ends up here
getLogger()
.log(Level.SEVERE,
"Session expired before push was disconnected. This should never happen",
.log(Level.FINER,
"Session expired before push disconnect event was received",
e);
return;
}

読み込み中…
キャンセル
保存