-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Goals
Providers need to have a way to indicate they are running booster-http for the QueryAsk v2 protocol
How
-
Add a "HTTPRetrievalURL" string to
Line 123 in fe1b013
type DealmakingConfig struct { -
When the URL is not a blank string, QueryAskV2 will return HTTP options. When it's blank, from QueryAsk v2's point of view, HTTP retrieval is disabled.
This config is the PUBLIC url for HTTP retrieval. Currently, booster HTTP only allows configuring the port, and doesn't support HTTPS. The assumption is if you want your server to run over HTTPS, on a different port externally, or with a filter, it's configured through an Nginx/Apache reverse proxy.
For Discussion
The current proposal is this URL is set manually in the config file, independently of booster-http being started/stopped. That means that there's no guarantee it's correct, or that while set, booster-http is actually running. Should we try to do something to disable returning the URL when booster-http is stopped?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status