We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @dom96,
When specifying settings (port, bind address, ...), the domain is set to AF_UNSPEC. However, without settings, the domain is set to AF_INET
AF_UNSPEC
AF_INET
This make
httpbeast/src/httpbeast.nim
Line 464 in b33dba9
Line 492 in b33dba9
domain
Regards,
Related to the-benchmarker/web-frameworks#4554
The text was updated successfully, but these errors were encountered:
Will keep this to remind me to add an error when Settings is initialised incorrectly.
Settings
Sorry, something went wrong.
How can you override Settings @dom96 ?
You mean https://github.com/dom96/httpbeast/blob/master/src/httpbeast.nim#L557?
exactly, but seems that you need to set by hand in https://github.com/mattaylor/whip/blob/a9fd1f04ba0167727dd0dbf9235791f708147992/whip.nim#L132 @mattaylor
@dom96 maybe a good idea to allow it to be overwritten by end-user (I mean with a compilation option or nim.cfg)
No branches or pull requests
Hi @dom96,
When specifying settings (port, bind address, ...), the domain is set to
AF_UNSPEC
. However, without settings, the domain is set toAF_INET
This make
httpbeast/src/httpbeast.nim
Line 464 in b33dba9
and
httpbeast/src/httpbeast.nim
Line 492 in b33dba9
have different behavior (except if we specify
domain
for the first one)Regards,
Related to the-benchmarker/web-frameworks#4554
The text was updated successfully, but these errors were encountered: