Project

General

Profile

Bug #2969

websocket keep-alive

Added by Greg Shah about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
case_num:

Related issues

Related to User Interface - Feature #1811: implement the AJAX client driver Closed 11/01/2013 03/06/2014

History

#1 Updated by Greg Shah about 8 years ago

Currently there is an idle timeout for the websocket. We need to add a keep-alive sequence, otherwise a long-lived session will by automatically killed after the websocket timer pops. To recreate this today, load an application into the web client and then just let it sit there, it will disconnect automatically when the timeout occurs.

I think both the JS and Java sides should independently send a keep-alive. The other side should respond with an acknowledgement message. I think the round trip will automatically reset the websocket idle timer, so long as we send a keep-alive on a shorter time interval than the idle timer. In other words, we should calculate the keep-alive interval based on the websocket timer interval.

#2 Updated by Sergey Ivanovskiy about 8 years ago

It is done in 1811t.

#3 Updated by Greg Shah about 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#4 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF