kaazing / http2-cache.js

2 stars 11 forks source link

Progressive backoff on trying failed websocket connections. #37

Closed dpwspoon closed 7 years ago

dpwspoon commented 7 years ago

Currently, if a websocket connection fails or is lost the app try's repeated retry with no interval (I believe). We should change this to progressive/exponential back off or something similar (https://en.wikipedia.org/wiki/Exponential_backoff). Proper error codes for requests should also be returned.