]> source.dussan.org Git - vaadin-framework.git/commit
Determine Push transport before re-connect (#11988)
authorTatu Lund <tatu@vaadin.com>
Mon, 11 May 2020 06:45:42 +0000 (09:45 +0300)
committerGitHub <noreply@github.com>
Mon, 11 May 2020 06:45:42 +0000 (09:45 +0300)
commite829b469b1ef3162ffdab29d4f2197a868e7c897
tree4df4e2f2f9287edbb5d9dfeceaa21be6e76871ad
parente99c787623e7df9aa0923e78315e9e98e5936e47
Determine Push transport before re-connect (#11988)

onConnect was allways called with websocket = false. I think this is wrong, since if there was connection loss in websocket, now connection cannot be re-established in websocket mode.

Fixes: https://github.com/vaadin/framework/issues/7190
Cherry pick of https://github.com/vaadin/framework/pull/11884
server/src/main/java/com/vaadin/server/communication/PushHandler.java