Skip to content

Commit

Permalink
Pass along backlog keyword argument in Sockets.listen (#45737)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4f1c68e)
  • Loading branch information
quinnj authored and KristofferC committed Jun 28, 2022
1 parent 783c651 commit ead53fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Sockets/src/Sockets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ listen(port::Integer; backlog::Integer=BACKLOG_DEFAULT) = listen(localhost, port
listen(host::IPAddr, port::Integer; backlog::Integer=BACKLOG_DEFAULT) = listen(InetAddr(host, port); backlog=backlog)

function listen(sock::LibuvServer; backlog::Integer=BACKLOG_DEFAULT)
uv_error("listen", trylisten(sock))
uv_error("listen", trylisten(sock; backlog=backlog))
return sock
end

Expand Down

0 comments on commit ead53fe

Please sign in to comment.