zenhack / ttrss-sandstorm

Sandstorm port of Tiny Tiny RSS
GNU General Public License v3.0
6 stars 2 forks source link

When a pb request needs to be made, block until a connection is available. #2

Closed zenhack closed 3 years ago

zenhack commented 3 years ago

Right now, if ttrss makes a request for a URL that we don't already have a capability for, and the proxy does not have an open connection to a client, it will simply return an error.

This is problematic in that it can cause requests to fail if they come in as the app is booting up, if the client hasn't yet had a chance to connect.

Instead, we should block until a connection is available, or the request times out.