We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 354d60c + b7916cd commit 3a176eaCopy full SHA for 3a176ea
src/fastcgi/server.nim
@@ -272,7 +272,7 @@ proc serveUnix*(server: AsyncFCGIServer; path: string): Future[void] =
272
var socket = newAsyncSocket(
273
domain = AF_UNIX,
274
sockType = SOCK_STREAM,
275
- protocol = cast[Protocol](0),
+ protocol = IPPROTO_IP,
276
)
277
bindUnix(socket, path)
278
socket.listen()
@@ -284,4 +284,4 @@ proc close*(server: AsyncFCGIServer) =
284
285
when isMainModule:
286
let server = newAsyncFCGIServer()
287
- waitFor server.serve(Port(9000))
+ waitFor server.serve(Port(9000))
0 commit comments