Commit graph

6 commits

Author SHA1 Message Date
syeopite
12206c14c6
Fix requests getting dropped during conn restarts
The code for reestablishing conns begins after we retrieve a
request from the queue. However, since the request was removed from the
queue we no longer have access to it, resulting in a dropped request.

This commit adds another queue to aggregate any requests during client
restarts in order to preserve and handle them after the connection has been
reestablished. This queue would have higher priority than the normal
requests queue meaning that normal requests would only get processed
if and only if there aren't any more "dropped" requests to handle.
2021-05-23 05:46:23 -07:00
syeopite
26c0765bb0
Fix logic for recreating connections 2021-05-23 04:15:40 -07:00
syeopite
43957e90ec
Add logic to recreate conn if one is terminated 2021-05-23 03:57:47 -07:00
syeopite
f431d86e8e
Change code to prevent creating client every conn 2021-05-22 15:06:56 -07:00
syeopite
1cf2b276c5
Remove HTTP Push event handling.
Nothing is currently done with its results and neither does Invidious
recognize PUSH
2021-05-22 07:41:27 -07:00
syeopite
9ed02b7187
Initial commit 2021-05-22 05:52:45 -07:00