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
This make
|
proc run*(onRequest: OnRequest, settings: Settings) = |
and
|
proc run*(onRequest: OnRequest) {.inline.} = |
have different behavior (except if we specify
domain for the first one)
Regards,
Related to the-benchmarker/web-frameworks#4554
Hi @dom96,
When specifying settings (port, bind address, ...), the domain is set to
AF_UNSPEC. However, without settings, the domain is set toAF_INETThis 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
domainfor the first one)Regards,
Related to the-benchmarker/web-frameworks#4554