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
  • Loading branch information
quinnj authored Jun 19, 2022
1 parent c317e05 commit 4f1c68e
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 @@ -625,7 +625,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 4f1c68e

Please sign in to comment.