-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create http server #194
base: feat/market
Are you sure you want to change the base?
Conversation
// WriteTimeout is the maximum duration before timing out writes of the response to the client. | ||
WriteTimeout time.Duration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we later able to set this higher for responses from e.g. the /piece endpoint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I will try to find better write defaults once this is merged. More practical ones.
This PR add a HTTPS server to Curio market.
The autocert cache is stored in DB instead of a directory which can be access by all nodes.