![]() ![]() One day he died and since he was not a good man at all he was sent to hell. ![]() Many years ago I was visiting Chicago and a local Priest told me he heard about a man the had been a "Boiler stoker" his entire life and absolutely loved his job, the heat and the hard work and all else about the job was a high level perk for him. (Not a bad thing from time to time, I think) I now feel a bit free to include a joke. Since this now includes more comedy than real information. To avoid sending just a "ping" and a "pong", useful information can be sent through websockets when the client supports them, such as the position of the video playback (which is currently sent via http), because a request via websocket is faster than an http request and sends, with the same information in the body, less data than an http request. Or even when changing networks (LTE->wifi or wifi->LTE), this would make it easier to re-establish the connection than quitting the application and reopening it. This would, I think, allow better websockets management and avoid connections being open for hours. ![]() Why not set up a number of reconnection attempts?įor example, the client tries to reconnect 3 times, and if none of the attempts work, the connection is aborted. Having the client send a message and the server reply every X seconds/minutes would eliminate the problem and prevent the connection from staying open for 1 hour for no reason, as in the nginx configuration.Īlso, I saw a message saying that if a connection was closed unexpectedly, for resource reasons, there was no attempt to reconnect. Or if, when playing an episode of a series lasting 40 minutes, the viewer pauses the video for 20 minutes, the connection will be closed before the end of the episode. In the case of haproxy or nginx, if someone pauses a video that lasts more than an hour (a movie, for example), the websocket timeout will occur before the end of the movie. ![]() Apart from reverse proxies such as caddy or traefik (for those I know) there is no real timeout for websockets.įor reverse proxies like haproxy or nginx, the timeout is defined either by default or by the user. Is it possible that in a version of emby a "ping pong" is performed in websocket to maintain a connection via a reverse proxy? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |