Skip to content
New issue

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

Pass along backlog keyword argument in Sockets.listen #45737

Merged
merged 1 commit into from
Jun 19, 2022

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Jun 19, 2022

I'm not crazy right? This is just not getting passed through?

@@ -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))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can also use the shorter

Suggested change
uv_error("listen", trylisten(sock; backlog=backlog))
uv_error("listen", trylisten(sock; backlog))

@fredrikekre fredrikekre merged commit 4f1c68e into master Jun 19, 2022
@fredrikekre fredrikekre deleted the quinnj-patch-1 branch June 19, 2022 10:36
@fredrikekre fredrikekre added backport 1.6 Change should be backported to release-1.6 backport 1.7 backport 1.8 Change should be backported to release-1.8 labels Jun 19, 2022
KristofferC pushed a commit that referenced this pull request Jun 28, 2022
KristofferC pushed a commit that referenced this pull request Jul 4, 2022
KristofferC pushed a commit that referenced this pull request Jul 4, 2022
KristofferC pushed a commit that referenced this pull request Jul 4, 2022
@KristofferC KristofferC removed backport 1.8 Change should be backported to release-1.8 backport 1.6 Change should be backported to release-1.6 labels Jul 6, 2022
pcjentsch pushed a commit to pcjentsch/julia that referenced this pull request Aug 18, 2022
KristofferC pushed a commit that referenced this pull request Dec 21, 2022
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants